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/LexSQL.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexSQL.cxx') 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; -- cgit v1.2.3