From 35d24315e76357e4cf327eef54062ea4ffe2fab1 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Tue, 20 Jun 2006 17:16:43 +0200 Subject: [PATCH] winecfg: Create Resources directory when adding themes. --- programs/winecfg/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c index 8c7f8197dcb..faad64180c7 100644 --- a/programs/winecfg/theme.c +++ b/programs/winecfg/theme.c @@ -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);