diff options
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r-- | src/LexOthers.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index 0814d518c..2c9c3e444 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -217,9 +217,9 @@ static void ColourisePropsLine( if (lineBuffer[i] == '=') { styler.ColourTo(startLine + i - 1, 0); styler.ColourTo(startLine + i, 3); - styler.ColourTo(endPos, 0); + styler.ColourTo(endPos-1, 0); } else { - styler.ColourTo(endPos, 0); + styler.ColourTo(endPos-1, 0); } } } |