]> git.stg.codes - stg.git/commitdiff
Fix prefix incremental and decremental operators to postfix
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 21 Mar 2011 14:30:27 +0000 (16:30 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 21 Mar 2011 14:30:27 +0000 (16:30 +0200)
projects/stargazer/plugins/configuration/sgconfig/configproto.cpp

index f6f97f5f904d60e4fdef100dd992f3df88cea3cb..6c25e099b6390b741f648dc05b3fc1824d667b5f 100644 (file)
@@ -157,10 +157,10 @@ while(nonstop)
     str[8] = 0;
     len = strlen(str);
 
-    n++;
+    ++n;
     if (n == requestList.end())
         done = 1;
-    n--;
+    --n;
 
     if (XML_Parse(xmlParser, (*n).c_str(), len, done) == XML_STATUS_ERROR)
         {
@@ -181,7 +181,7 @@ while(nonstop)
     if (done)
         return 0;
 
-    n++;
+    ++n;
     }
 
 return 0;