projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed crash introduced by recently applied autowidth patch (patch 1171455)
[wxWidgets.git]
/
src
/
os2
/
palette.cpp
diff --git
a/src/os2/palette.cpp
b/src/os2/palette.cpp
index bd592c42e0bfaa4d5945952736b01a466684bea6..43252c40700a2b5f0d12e20c7a574838a0d0c82f 100644
(file)
--- a/
src/os2/palette.cpp
+++ b/
src/os2/palette.cpp
@@
-153,7
+153,7
@@
int wxPalette::GetPixel(
//
// Now loop through and find the matching entry
//
//
// Now loop through and find the matching entry
//
-
int
i;
+
ULONG
i;
for (i = 0; i < ulNumEntries; i++)
{
if (pualTable[i] == ulRGB)
for (i = 0; i < ulNumEntries; i++)
{
if (pualTable[i] == ulRGB)