Alex Villacís Lasso : user32: DlgDirList converts path specification to uppercase.

Alexandre Julliard julliard at winehq.org
Thu Nov 15 07:45:03 CST 2007


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

Author: Alex Villacís Lasso <a_villacis at palosanto.com>
Date:   Wed Nov 14 14:17:46 2007 -0500

user32: DlgDirList converts path specification to uppercase.

---

 dlls/user32/dialog.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c
index e7f55de..d04226b 100644
--- a/dlls/user32/dialog.c
+++ b/dlls/user32/dialog.c
@@ -1793,6 +1793,9 @@ static INT DIALOG_DlgDirListW( HWND hDlg, LPWSTR spec, INT idLBox,
         }
     }
 
+    /* Convert path specification to uppercase */
+    if (spec) CharUpperW(spec);
+
     if (idStatic && ((hwnd = GetDlgItem( hDlg, idStatic )) != 0))
     {
         WCHAR temp[MAX_PATH];




More information about the wine-cvs mailing list