[1/2] shell32: Fix the IDS_PERSONAL hardcoded default.
Francois Gouget
fgouget at codeweavers.com
Mon Jan 5 12:27:07 CST 2015
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);
--
2.1.4
More information about the wine-patches
mailing list