'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
This commit is contained in:
@@ -1084,10 +1084,10 @@ bool wxICOHandler::SaveFile(wxImage *image,
|
|||||||
{
|
{
|
||||||
// just make a black mask all over:
|
// just make a black mask all over:
|
||||||
mask = image->Copy();
|
mask = image->Copy();
|
||||||
int i, j;
|
int k, j;
|
||||||
for (i = 0; i < mask.GetWidth(); i++)
|
for (k = 0; k < mask.GetWidth(); k++)
|
||||||
for (j = 0; j < mask.GetHeight(); j++)
|
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
|
// Set the formats for image and mask
|
||||||
// (Windows never saves with more than 8 colors):
|
// (Windows never saves with more than 8 colors):
|
||||||
|
Reference in New Issue
Block a user