aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexBullant.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexBullant.cxx')
-rw-r--r--src/LexBullant.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexBullant.cxx b/src/LexBullant.cxx
index dd317d7a3..1f76ffcf0 100644
--- a/src/LexBullant.cxx
+++ b/src/LexBullant.cxx
@@ -68,7 +68,7 @@ static void ColouriseBullantDoc(unsigned int startPos, int length, int initStyle
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;