ANSI 'C' fix (decs in "for" clauses no longer have any scope outside clause itself)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-12-21 13:57:53 +00:00
parent 194330c765
commit 6d57cea923

View File

@@ -150,7 +150,8 @@ int wxPalette::GetPixel(
//
// Now loop through and find the matching entry
//
for (int i = 0; i < ulNumEntries; i++)
int i;
for (i = 0; i < ulNumEntries; i++)
{
if (pualTable[i] == ulRGB)
{