https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9e198799d48de54276674…
commit 9e198799d48de54276674ce19859a029766a7cd7
Author: Denis Malikov <filedem(a)gmail.com>
AuthorDate: Wed Aug 15 22:05:03 2018 +0700
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Aug 15 18:27:31 2018 +0200
[WIN32SS][USER] fixing couple typos for WINVER >= 0x600
CORE-12596
---
win32ss/user/ntuser/sysparams.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/win32ss/user/ntuser/sysparams.c b/win32ss/user/ntuser/sysparams.c
index c7dca11730..7eedc028de 100644
--- a/win32ss/user/ntuser/sysparams.c
+++ b/win32ss/user/ntuser/sysparams.c
@@ -282,7 +282,7 @@ SpiUpdatePerUserSystemParameters(VOID)
gspv.bMouseClickLock = (gspv.dwUserPrefMask & UPM_CLICKLOCK) != 0;
gspv.bMouseCursorShadow = (gspv.dwUserPrefMask & UPM_CURSORSHADOW) != 0;
#if (_WIN32_WINNT >= 0x0600)
- gspv.iWheelScrollChars = SpiLoadInt(KEY_DESKTOP, VAL_SCRLLCHARS, 3);
+ gspv.uiWheelScrollChars = SpiLoadInt(KEY_DESKTOP, VAL_SCRLLCHARS, 3);
#endif
/* Some hardcoded values for now */
@@ -1523,7 +1523,7 @@ SpiGetSet(UINT uiAction, UINT uiParam, PVOID pvParam, FLONG fl)
#if(WINVER >= 0x0600)
case SPI_GETAUDIODESCRIPTION:
- return SpiGet(pvParam, &gspv.audiodesription, sizeof(AUDIODESCRIPTION),
fl);
+ return SpiGet(pvParam, &gspv.audiodescription, sizeof(AUDIODESCRIPTION),
fl);
case SPI_SETAUDIODESCRIPTION:
ERR("SPI_SETAUDIODESCRIPTION is unimplemented\n");
@@ -1666,10 +1666,10 @@ SpiGetSet(UINT uiAction, UINT uiParam, PVOID pvParam, FLONG fl)
return SpiSetBool(&gspv.bDisableOverlappedContent, uiParam, KEY_MOUSE,
L"", fl);
case SPI_GETCLIENTAREAANIMATION:
- return SpiGetInt(pvParam, &gspv.bClientAnimation, fl);
+ return SpiGetInt(pvParam, &gspv.bClientAreaAnimation, fl);
case SPI_SETCLIENTAREAANIMATION:
- return SpiSetBool(&gspv.bClientAnimation, uiParam, KEY_MOUSE,
L"", fl);
+ return SpiSetBool(&gspv.bClientAreaAnimation, uiParam, KEY_MOUSE,
L"", fl);
case SPI_GETCLEARTYPE:
return SpiGetInt(pvParam, &gspv.bClearType, fl);