diff options
Diffstat (limited to 'src/LexPython.cxx')
| -rw-r--r-- | src/LexPython.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/LexPython.cxx b/src/LexPython.cxx index 221859035..3bfbb4a82 100644 --- a/src/LexPython.cxx +++ b/src/LexPython.cxx @@ -276,8 +276,8 @@ static void FoldPyDoc(unsigned int startPos, int length, int /*initStyle - unuse  	const int maxPos = startPos + length;  	const int maxLines = styler.GetLine(maxPos-1);             // Requested last line  	const int docLines = styler.GetLine(styler.Length() - 1);  // Available last line -	const bool foldComment = styler.GetPropertyInt("fold.comment.python"); -	const bool foldQuotes = styler.GetPropertyInt("fold.quotes.python"); +	const bool foldComment = styler.GetPropertyInt("fold.comment.python") != 0; +	const bool foldQuotes = styler.GetPropertyInt("fold.quotes.python") != 0;  	// Backtrack to previous non-blank line so we can determine indent level  	// for any white space lines (needed esp. within triple quoted strings) | 
