Mariusz Pluciński : shell32: Fix FOLDERID_Document definition.

Alexandre Julliard julliard at winehq.org
Tue Jul 19 12:42:56 CDT 2011


Module: wine
Branch: master
Commit: ea990a3f43d8591da12a8c0daf44ae486a6d98df
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ea990a3f43d8591da12a8c0daf44ae486a6d98df

Author: Mariusz Pluciński <vshader at gmail.com>
Date:   Tue Jul 19 16:19:39 2011 +0200

shell32: Fix FOLDERID_Document definition.

---

 dlls/shell32/shellpath.c       |    4 ++--
 dlls/shell32/tests/shellpath.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index 13d50e0..4bd3de2 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -872,7 +872,7 @@ static const CSIDL_DATA CSIDL_Data[] =
         NULL
     },
     { /* 0x05 - CSIDL_PERSONAL */
-        &GUID_NULL,
+        &FOLDERID_Documents,
         CSIDL_Type_User,
         PersonalW,
         MAKEINTRESOURCEW(IDS_PERSONAL)
@@ -1256,7 +1256,7 @@ static const CSIDL_DATA CSIDL_Data[] =
         NULL
     },
     { /* 0x45 */
-        &FOLDERID_Documents,
+        &GUID_NULL,
         CSIDL_Type_User,
         NULL,
         MAKEINTRESOURCEW(IDS_DOCUMENTS)
diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index c722596..4ea280b 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -920,7 +920,7 @@ static const struct knownFolderDef known_folders[] = {
     KNOWN_FOLDER(FOLDERID_Cookies,                    CSIDL_COOKIES,                        "Cookies"),
     KNOWN_FOLDER(FOLDERID_Desktop,                    CSIDL_DESKTOP,                        "Desktop"),
     KNOWN_FOLDER(FOLDERID_DeviceMetadataStore,        NO_CSIDL,                             "DeviceMetadataStore"),
-    KNOWN_FOLDER(FOLDERID_Documents,                  CSIDL_MYDOCUMENTS | CSIDL_TODO_WINE,  "Personal"),
+    KNOWN_FOLDER(FOLDERID_Documents,                  CSIDL_MYDOCUMENTS,                    "Personal"),
     KNOWN_FOLDER(FOLDERID_DocumentsLibrary,           NO_CSIDL,                             "DocumentsLibrary"),
     KNOWN_FOLDER(FOLDERID_Downloads,                  NO_CSIDL,                             "Downloads"),
     KNOWN_FOLDER(FOLDERID_Favorites,                  CSIDL_FAVORITES,                      "Favorites"),




More information about the wine-cvs mailing list