Fix file location in file properties dialog.

svn path=/trunk/; revision=40167
This commit is contained in:
Sylvain Petreolle 2009-03-21 22:19:27 +00:00
parent e01595c798
commit f7374ea760

View file

@ -249,7 +249,7 @@ SH_FileGeneralSetText(HWND hwndDlg, WCHAR *lpstr)
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);