[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.

svn path=/trunk/; revision=73828
This commit is contained in:
Giannis Adamopoulos
2017-02-18 18:14:32 +00:00
parent e4b71d31f9
commit 9a213745ca
+1 -1
View File
@@ -879,7 +879,7 @@ ActivateTheme(IN PTHEME_SELECTION pSelectedTheme)
if (!SUCCEEDED(hret)) return FALSE;
}
hret = ApplyTheme(hThemeFile, "", 0);
hret = ApplyTheme(hThemeFile, 0, 0);
if (pSelectedTheme->ThemeActive)
{