Evgeniy Boltik <bstsoft AT narod DOT ru>

- Fix for mouse cursor in 256 color mode.
- See issue #4172 for details.

svn path=/trunk/; revision=39676
This commit is contained in:
Matthias Kupfer 2009-02-19 09:18:27 +00:00
parent aa52ca9057
commit 6a1cf39948

View file

@ -250,7 +250,7 @@ IntEngCreateXlate(USHORT DestPalType, USHORT SourcePalType,
{
XlateObj->pulXlate[i] = ClosestColorMatch(
XlateGDI, SourcePalGDI->IndexedColors + i,
DestPalGDI->IndexedColors, XlateObj->cEntries);
DestPalGDI->IndexedColors, DestPalGDI->NumColors);
if (XlateObj->pulXlate[i] != i)
XlateObj->flXlate &= ~XO_TRIVIAL;
}