Index: subsystems/win32/win32k/eng/xlate.c =================================================================== --- subsystems/win32/win32k/eng/xlate.c (revision 39656) +++ subsystems/win32/win32k/eng/xlate.c (working copy) @@ -250,7 +250,7 @@ { 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; }