diff --git a/TextEditor.cpp b/TextEditor.cpp index 8d16d619..c8e73aec 100644 --- a/TextEditor.cpp +++ b/TextEditor.cpp @@ -2389,7 +2389,7 @@ void TextEditor::ColorizeInternal() withinSingleLineComment = true; } - inComment = inComment = (commentStartLine < currentLine || (commentStartLine == currentLine && commentStartIndex <= currentIndex)); + inComment = (commentStartLine < currentLine || (commentStartLine == currentLine && commentStartIndex <= currentIndex)); line[currentIndex].mMultiLineComment = inComment; line[currentIndex].mComment = withinSingleLineComment;