[Uml-devel] branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser

Andi Fischer andi.fischer at hispeed.ch
Tue Oct 7 18:11:11 UTC 2008


SVN commit 868946 by fischer:

Porting r868945.

 M  +3 -2      lookup.cpp  


--- branches/work/soc-umbrello/umbrello/codeimport/kdevcppparser/lookup.cpp #868945:868946
@@ -34,7 +34,7 @@
   }
   char *ascii = new char[len+1];
   unsigned int i;
-  for(i = 0; i < len; i++, c++) {
+  for (i = 0; i < len; ++i, ++c) {
     if (!c->row())
       ascii[i] = c->cell();
     else
@@ -89,8 +89,9 @@
 {
   unsigned int val = 0;
   // ignoring rower byte
-  for (unsigned int i = 0; i < len; i++, c++)
+  for (unsigned int i = 0; i < len; ++i, ++c) {
     val += c->cell();
+  }
 
   return val;
 }




More information about the umbrello-devel mailing list