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

List:       kde-commits
Subject:    KDE/kdegames/kpat/patsolve
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2008-06-22 19:09:48
Message-ID: 1214161788.224734.16940.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 823184 by chehrlic:

msvc warnings-- (do not reuse i)

 M  +3 -3      grandf.cpp  


--- trunk/KDE/kdegames/kpat/patsolve/grandf.cpp #823183:823184
@@ -91,15 +91,15 @@
             dir = -dir;
         }
 
-        int i = 0;
+        int j = 0;
         while (len > 0)
         {
             card_t card = deck[--len];
-            int currentpile = m_redeal * 7 + ( i + 1 );
+            int currentpile = m_redeal * 7 + ( j + 1 );
             Wp[currentpile]++;
             *Wp[currentpile] = card;
             Wlen[currentpile]++;
-            i = (i+1)%6;
+            j = (j+1)%6;
         }
 
         for (int round=0; round < 7; round++)
[prev in list] [next in list] [prev in thread] [next in thread] 

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