Commit 83974b21 authored by Frank Richter's avatar Frank Richter Committed by Alexandre Julliard

uxtheme: Don't back up colors etc. when a theme is already active.

parent a0ad98a2
......@@ -412,7 +412,7 @@ HRESULT UXTHEME_SetActiveTheme(PTHEME_FILE tf)
WCHAR tmp[2];
HRESULT hr;
if(tf) UXTHEME_BackupSystemMetrics();
if(tf && !bThemeActive) UXTHEME_BackupSystemMetrics();
hr = MSSTYLES_SetActiveTheme(tf, TRUE);
if(FAILED(hr))
return hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment