mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-14 22:03:27 +01:00
fix return value of GetSystemPaletteEntries
This commit is contained in:
parent
f9b47a9f0e
commit
747e1ec3a7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user