Module: wine Branch: master Commit: d7fc48463b1ce7b8b587c2f27ff7fe16f0525302 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7fc48463b1ce7b8b587c2f27f...
Author: Francois Gouget fgouget@codeweavers.com Date: Mon Jan 5 19:27:07 2015 +0100
shell32: Fix the IDS_PERSONAL hardcoded default.
The corresponding folder is called 'My Documents' but on Linux it's usually called 'Documents' so that's much more appropriate fallback than 'Personal'.
---
dlls/shell32/shellpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index e67babe..83df879 100644 --- a/dlls/shell32/shellpath.c +++ b/dlls/shell32/shellpath.c @@ -2573,7 +2573,7 @@ static inline BOOL _SHAppendToUnixPath(char *szBasePath, LPCWSTR pwszSubPath) { /* Fall back to hard coded defaults. */ switch (LOWORD(pwszSubPath)) { case IDS_PERSONAL: - lstrcpyW(wszSubPath, PersonalW); + lstrcpyW(wszSubPath, DocumentsW); break; case IDS_MYMUSIC: lstrcpyW(wszSubPath, My_MusicW);