mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user