aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexSQL.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexSQL.cxx')
-rw-r--r--src/LexSQL.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexSQL.cxx b/src/LexSQL.cxx
index 84d7d1c52..5cb5b9de2 100644
--- a/src/LexSQL.cxx
+++ b/src/LexSQL.cxx
@@ -43,7 +43,7 @@ static void ColouriseSQLDoc(unsigned int startPos, int length,
styler.StartAt(startPos);
- bool fold = styler.GetPropertyInt("fold");
+ bool fold = styler.GetPropertyInt("fold") != 0;
int lineCurrent = styler.GetLine(startPos);
int spaceFlags = 0;