Module: wine Branch: refs/heads/master Commit: 35d24315e76357e4cf327eef54062ea4ffe2fab1 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=35d24315e76357e4cf327eef...
Author: Paul Vriens Paul.Vriens@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);