diff options
Diffstat (limited to 'lexers/LexCPP.cxx')
| -rw-r--r-- | lexers/LexCPP.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lexers/LexCPP.cxx b/lexers/LexCPP.cxx index ee645e9e0..4df005af2 100644 --- a/lexers/LexCPP.cxx +++ b/lexers/LexCPP.cxx @@ -1279,7 +1279,7 @@ void SCI_METHOD LexerCPP::Lex(Sci_PositionU startPos, Sci_Position length, int i  							// Ensure only one chosen out of #if .. #elif .. #elif .. #else .. #endif  							if (!preproc.CurrentIfTaken()) {  								// Similar to #if -								std::string restOfLine = GetRestOfLine(styler, sc.currentPos + 2, true); +								std::string restOfLine = GetRestOfLine(styler, sc.currentPos + 4, true);  								const bool ifGood = EvaluateExpression(restOfLine, preprocessorDefinitions);  								if (ifGood) {  									preproc.InvertCurrentLevel(); | 
