Fix file location in file properties dialog.
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 21 Mar 2009 22:19:27 +0000 (22:19 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 21 Mar 2009 22:19:27 +0000 (22:19 +0000)
svn path=/trunk/; revision=40167

reactos/dll/win32/shell32/fprop.c

index 28b09a0..ae5f575 100644 (file)
@@ -249,7 +249,7 @@ SH_FileGeneralSetText(HWND hwndDlg, WCHAR *lpstr)
     if (lpstr == NULL)
         return FALSE;
 
     if (lpstr == NULL)
         return FALSE;
 
-    lpdir = wcschr(lpstr, '\\');        /* find the last occurence of '\\' */
+    lpdir = wcsrchr(lpstr, '\\');        /* find the last occurence of '\\' */
 
     plength = wcslen(lpstr);
     flength = wcslen(lpdir);
 
     plength = wcslen(lpstr);
     flength = wcslen(lpdir);