Author: rharabien
Date: Fri Oct 21 21:47:16 2011
New Revision: 54228
URL:
http://svn.reactos.org/svn/reactos?rev=54228&view=rev
Log:
[WIN32K] - SystemParametersInfo does not support SPIF_UPDATEINIFILE for
SPI_SETDEFAULTINPUTLANG
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/sysparams.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/sysparams.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/sysparams.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/sysparams.c [iso-8859-1] Fri Oct 21
21:47:16 2011
@@ -1172,13 +1172,9 @@
{
HKL hkl;
- if (!SpiSet(&hkl, pvParam, sizeof(hkl), fl))
+ /* Note: SPIF_UPDATEINIFILE is not supported */
+ if ((fl & SPIF_UPDATEINIFILE) || !SpiSet(&hkl, pvParam, sizeof(hkl),
fl))
return FALSE;
-
- if (fl & SPIF_UPDATEINIFILE)
- {
- // FIXME: what to do?
- }
return UserSetDefaultInputLang(hkl);
}