Author: gadamopoulos
Date: Sat Feb 18 18:14:32 2017
New Revision: 73828
URL: http://svn.reactos.org/svn/reactos?rev=73828&view=rev
Log:
[DESK.CPL] -Apparently the second parameter of ApplyTheme is not a string. One case is that it is not a pointer and another case that it is a pointer to a struct. What I'm sure of is that as it is now the position of the string in the binary affects the behavior of ApplyTheme. Thankfully 0 works great on windows.
Modified:
trunk/reactos/dll/cpl/desk/theme.c
Modified: trunk/reactos/dll/cpl/desk/theme.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/theme.c?rev=7…
==============================================================================
--- trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/theme.c [iso-8859-1] Sat Feb 18 18:14:32 2017
@@ -879,7 +879,7 @@
if (!SUCCEEDED(hret)) return FALSE;
}
- hret = ApplyTheme(hThemeFile, "", 0);
+ hret = ApplyTheme(hThemeFile, 0, 0);
if (pSelectedTheme->ThemeActive)
{