diff options
Diffstat (limited to 'lexers/LexDiff.cxx')
-rw-r--r-- | lexers/LexDiff.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexDiff.cxx b/lexers/LexDiff.cxx index bfc22b9f6..9512550c8 100644 --- a/lexers/LexDiff.cxx +++ b/lexers/LexDiff.cxx @@ -126,7 +126,7 @@ static void FoldDiffDoc(Sci_PositionU startPos, Sci_Position length, int, WordLi int nextLevel; do { - int lineType = styler.StyleAt(curLineStart); + const int lineType = styler.StyleAt(curLineStart); if (lineType == SCE_DIFF_COMMAND) nextLevel = SC_FOLDLEVELBASE | SC_FOLDLEVELHEADERFLAG; else if (lineType == SCE_DIFF_HEADER) |