diff options
| author | Neil <nyamatongwe@gmail.com> | 2017-04-06 21:04:52 +1000 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2017-04-06 21:04:52 +1000 | 
| commit | 31b76af68badad3cb5d65b435b27760d65a9767a (patch) | |
| tree | 2bd0a4ba12815acaa0c1f45b70f72bba66152dab /lexers/LexDiff.cxx | |
| parent | cda15af9657880e91ccf65603e109b202d9e78bf (diff) | |
| download | scintilla-mirror-31b76af68badad3cb5d65b435b27760d65a9767a.tar.gz | |
Added const to some lexers.
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) | 
