Author: dchapyshev
Date: Fri Sep 9 22:39:25 2016
New Revision: 72638
URL:
http://svn.reactos.org/svn/reactos?rev=72638&view=rev
Log:
[NtUser]
- LPICONMETRICS -> LPICONMETRICSW
Modified:
trunk/reactos/win32ss/user/ntuser/sysparams.c
Modified: trunk/reactos/win32ss/user/ntuser/sysparams.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/syspar…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/sysparams.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/sysparams.c [iso-8859-1] Fri Sep 9 22:39:25 2016
@@ -1013,15 +1013,15 @@
case SPI_SETICONMETRICS:
{
- LPICONMETRICS IconMetrics = (LPICONMETRICS)pvParam;
-
- if (uiParam != 0 && uiParam != sizeof(ICONMETRICS))
- return 0;
-
- if (!IconMetrics || IconMetrics->cbSize != sizeof(ICONMETRICS))
- return 0;
-
- if (!SpiSet(&gspv.im, pvParam, sizeof(ICONMETRICS), fl))
+ LPICONMETRICSW IconMetrics = (LPICONMETRICSW)pvParam;
+
+ if (uiParam != 0 && uiParam != sizeof(ICONMETRICSW))
+ return 0;
+
+ if (!IconMetrics || IconMetrics->cbSize != sizeof(ICONMETRICSW))
+ return 0;
+
+ if (!SpiSet(&gspv.im, pvParam, sizeof(ICONMETRICSW), fl))
return 0;
if (fl & SPIF_UPDATEINIFILE)
@@ -1955,7 +1955,7 @@
break;
case SPI_SETICONMETRICS:
- cbSize = sizeof(ICONMETRICS);
+ cbSize = sizeof(ICONMETRICSW);
bToUser = FALSE;
break;