mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +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:
parent
8cb8d2d156
commit
d4b414cc35
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue