diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/LexCPP.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index 411f33d10..ab8316949 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -245,7 +245,7 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo  				// Skip whitespace between # and preprocessor word  				do {  					sc.Forward(); -				} while ((sc.ch == ' ') && (sc.ch == '\t') && sc.More()); +				} while ((sc.ch == ' ' || sc.ch == '\t') && sc.More());  				if (sc.atLineEnd) {  					sc.SetState(SCE_C_DEFAULT);  				} | 
