]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagbmp.cpp
'i' is already used in this scope so make it clearer.
[wxWidgets.git] / src / common / imagbmp.cpp
index 6e4168e0f006041308876fcaeac15d0fd31ed75f..99e6a5fb281d953202ee339ac798d9c8c2afdfd9 100644 (file)
@@ -1084,10 +1084,10 @@ bool wxICOHandler::SaveFile(wxImage *image,
         {
             // just make a black mask all over:
             mask = image->Copy();
-            int i, j;
-            for (i = 0; i < mask.GetWidth(); i++)
+            int k, j;
+            for (k = 0; k < mask.GetWidth(); k++)
                 for (j = 0; j < mask.GetHeight(); j++)
-                    mask.SetRGB(i, j, 0, 0, 0 );
+                    mask.SetRGB(k, j, 0, 0, 0 );
         }
         // Set the formats for image and mask
         // (Windows never saves with more than 8 colors):