From 7f64e11cc126791903fd3bf032b3c855aca249a4 Mon Sep 17 00:00:00 2001
From: mae <qt-info@nokia.com>
Date: Fri, 24 Apr 2009 18:12:36 +0200
Subject: [PATCH] the comma operator in C++ is evil

---
 src/plugins/texteditor/basetexteditor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp
index 9bc9ef529a6..474fa0c4435 100644
--- a/src/plugins/texteditor/basetexteditor.cpp
+++ b/src/plugins/texteditor/basetexteditor.cpp
@@ -3403,7 +3403,7 @@ void BaseTextEditor::_q_highlightBlocks()
                                                             block.length()));
             QTextCursor closeCursor;
             bool firstRun = true;
-            while (TextBlockUserData::findPreviousBlockOpenParenthesis(&cursor), firstRun) {
+            while (TextBlockUserData::findPreviousBlockOpenParenthesis(&cursor, firstRun)) {
                 firstRun = false;
                 highlightBlocksInfo.open.prepend(cursor.blockNumber());
                 highlightBlocksInfo.visualIndent.prepend(d->visualIndent(cursor.block()));
-- 
GitLab