mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 23:58:56 +00:00
winecfg: Create Resources directory when adding themes.
This commit is contained in:
parent
3a56eca1c7
commit
35d24315e7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user