[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdewebdev/quanta/parts/kafka
From:       Paulo Moura Guedes <moura () kdewebdev ! org>
Date:       2005-01-05 1:50:14
Message-ID: 20050105015014.1BCC51CF99 () office ! kde ! org
[Download RAW message or body]

CVS commit by mojo: 

Change post to pre increment.


  M +6 -6      wkafkapart.cpp   1.90


--- kdewebdev/quanta/parts/kafka/wkafkapart.cpp  #1.89:1.90
@@ -1484,5 +1484,5 @@ void KafkaDocument::translateKafkaIntoQu
                                 else if((curCol + encodedChar.length()) >= currentLine.length())
                                 {
-                                        curLine++;
+                                        ++curLine;
                                         curCol = 0;
                                         currentLine = m_currentDoc->editIf->textLine(curLine);
@@ -1496,5 +1496,5 @@ void KafkaDocument::translateKafkaIntoQu
                         }
                         oldChar = curChar;
-                        currentOffset--;
+                        --currentOffset;
                 }
         }
@@ -1513,10 +1513,10 @@ void KafkaDocument::translateKafkaIntoQu
                                 else
                                         _currentNode->tag->endPos(curLine, curCol);
-                                curCol++;
+                                ++curCol;
                         }
                         else
                         {
                                 _currentNode->tag->endPos(curLine, curCol);
-                                curCol++;
+                                ++curCol;
                         }
                 }
@@ -1544,5 +1544,5 @@ void KafkaDocument::translateKafkaIntoQu
                                 {
                                         node = node->SNext();
-                                        i++;
+                                        ++i;
                                 }
                                 if(!node)
@@ -1557,5 +1557,5 @@ void KafkaDocument::translateKafkaIntoQu
                                         else
                                                 node->tag->endPos(curLine, curCol);
-                                        curCol++;
+                                        ++curCol;
                                 }
                         }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic