fix return value of GetSystemPaletteEntries

This commit is contained in:
FunkyFr3sh 2024-12-16 22:33:35 +01:00
parent f9b47a9f0e
commit 747e1ec3a7

View file

@ -1417,7 +1417,7 @@ UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LP
}
}
return cEntries - iStart;
return cEntries;
}
return real_GetSystemPaletteEntries(hdc, iStart, cEntries, pPalEntries);