Alexandre Julliard : mshtml: Use the current AppData folder instead of the default one as profile directory .
Alexandre Julliard
julliard at winehq.org
Tue Feb 7 15:53:56 CST 2012
Module: wine
Branch: master
Commit: 0aeb38bb4c3ed8cc9b9da374c42072bebe292939
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0aeb38bb4c3ed8cc9b9da374c42072bebe292939
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 6 17:39:57 2012 -0600
mshtml: Use the current AppData folder instead of the default one as profile directory.
---
dlls/mshtml/nsembed.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index fdc6286..d96bcaf 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -118,7 +118,7 @@ static nsresult create_profile_directory(void)
nsresult nsres;
HRESULT hres;
- hres = SHGetFolderPathW(NULL, CSIDL_APPDATA, NULL, SHGFP_TYPE_DEFAULT, path);
+ hres = SHGetFolderPathW(NULL, CSIDL_APPDATA, NULL, SHGFP_TYPE_CURRENT, path);
if(FAILED(hres)) {
ERR("SHGetFolderPath failed: %08x\n", hres);
return NS_ERROR_FAILURE;
More information about the wine-cvs
mailing list