diff options
Diffstat (limited to 'src/LexAVE.cxx')
-rw-r--r-- | src/LexAVE.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexAVE.cxx b/src/LexAVE.cxx index a7422743f..dfd15f02f 100644 --- a/src/LexAVE.cxx +++ b/src/LexAVE.cxx @@ -26,7 +26,7 @@ static void ColouriseAveDoc(unsigned int startPos, int length, int initStyle, Wo styler.StartAt(startPos); - bool fold = styler.GetPropertyInt("fold"); + bool fold = styler.GetPropertyInt("fold") != 0; int lineCurrent = styler.GetLine(startPos); int levelPrev = styler.LevelAt(lineCurrent) & SC_FOLDLEVELNUMBERMASK; int levelCurrent = levelPrev; |