winecfg: Create Resources directory when adding themes.

This commit is contained in:
Paul Vriens 2006-06-20 17:16:43 +02:00 committed by Alexandre Julliard
parent 3a56eca1c7
commit 35d24315e7
1 changed files with 1 additions and 1 deletions

View File

@ -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);