From 9fbdf629124454ddfc8ff9fc10ed4841d2ef8fba Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 10 Jan 2002 23:11:57 +0000 Subject: Made code bool-safe and turned Visual C++ warning 4800 back on. --- src/LexBullant.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexBullant.cxx') 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; -- cgit v1.2.3