diff options
author | nyamatongwe <unknown> | 2002-01-10 23:11:57 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-01-10 23:11:57 +0000 |
commit | 9fbdf629124454ddfc8ff9fc10ed4841d2ef8fba (patch) | |
tree | ccf8d10998c2a32af1e3a8e66cf75d93669fc6a1 /src/LexPascal.cxx | |
parent | d43d89fa81e0b04b762c2a9d58cb3d86d0400ec2 (diff) | |
download | scintilla-mirror-9fbdf629124454ddfc8ff9fc10ed4841d2ef8fba.tar.gz |
Made code bool-safe and turned Visual C++ warning 4800 back on.
Diffstat (limited to 'src/LexPascal.cxx')
-rw-r--r-- | src/LexPascal.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPascal.cxx b/src/LexPascal.cxx index acc38b52d..51b24f2ff 100644 --- a/src/LexPascal.cxx +++ b/src/LexPascal.cxx @@ -49,7 +49,7 @@ static void ColourisePascalDoc(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; |