Commit 35d24315 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

winecfg: Create Resources directory when adding themes.

parent 3a56eca1
......@@ -529,7 +529,7 @@ static void on_theme_install(HWND dialog)
WCHAR themeFilePath[MAX_PATH];
SHFILEOPSTRUCTW shfop;
if (FAILED (SHGetFolderPathW (NULL, CSIDL_RESOURCES, NULL,
if (FAILED (SHGetFolderPathW (NULL, CSIDL_RESOURCES|CSIDL_FLAG_CREATE, NULL,
SHGFP_TYPE_CURRENT, themeFilePath))) return;
PathRemoveExtensionW (filetitle);
......
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