Paul Vriens : winecfg: Create Resources directory when adding themes.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 20 16:03:52 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 35d24315e76357e4cf327eef54062ea4ffe2fab1
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=35d24315e76357e4cf327eef54062ea4ffe2fab1

Author: Paul Vriens <Paul.Vriens at xs4all.nl>
Date:   Tue Jun 20 17:16:43 2006 +0200

winecfg: Create Resources directory when adding themes.

---

 programs/winecfg/theme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c
index 8c7f819..faad641 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);




More information about the wine-cvs mailing list