aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexBullant.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-01-10 23:11:57 +0000
committernyamatongwe <devnull@localhost>2002-01-10 23:11:57 +0000
commit65697a29ece801849925ca032691324135fb012f (patch)
treeccf8d10998c2a32af1e3a8e66cf75d93669fc6a1 /src/LexBullant.cxx
parent76b997d0cccd68e69ee1b6d70ae6135d9d84a32f (diff)
downloadscintilla-mirror-65697a29ece801849925ca032691324135fb012f.tar.gz
Made code bool-safe and turned Visual C++ warning 4800 back on.
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;