From: Włodzimierz Skiba <abx@abx.art.pl>
Date: Mon, 5 Sep 2005 17:39:15 +0000 (+0000)
Subject: 'i' is already used in this scope so make it clearer.
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6fbf4a60fe7d1b293fabb200d43f4b8945fb522b?ds=sidebyside

'i' is already used in this scope so make it clearer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/common/imagbmp.cpp b/src/common/imagbmp.cpp
index 6e4168e0f0..99e6a5fb28 100644
--- a/src/common/imagbmp.cpp
+++ b/src/common/imagbmp.cpp
@@ -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):