mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[WIN32K] Fix a crash in win32knt:NTUserSystemParametersInfo tests. Brought to you by Peter Hater. CORE-11525
svn path=/trunk/; revision=72623
This commit is contained in:
@@ -1053,7 +1053,7 @@ SpiGetSet(UINT uiAction, UINT uiParam, PVOID pvParam, FLONG fl)
|
||||
return SpiSetBool(&gspv.bShowSounds, uiParam, KEY_SHOWSNDS, VAL_ON, fl);
|
||||
|
||||
case SPI_GETSTICKYKEYS:
|
||||
if (uiParam != sizeof(STICKYKEYS))
|
||||
if (uiParam != 0 && uiParam != sizeof(STICKYKEYS))
|
||||
return 0;
|
||||
return SpiGetEx(pvParam, &gspv.stickykeys, sizeof(STICKYKEYS), fl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user