[shell32.dll]

- Fix bug 6316. Patch by Edijs Kolesnikovics.

svn path=/branches/shell32_new-bringup/; revision=53623
This commit is contained in:
Claudiu Mihail
2011-09-07 17:10:45 +00:00
parent 9f5333c3dc
commit 5291d19b25
+6
View File
@@ -259,6 +259,12 @@ SH_FileGeneralSetText(HWND hwndDlg, WCHAR *lpstr)
/* location text field */
wcsncpy(buff, lpstr, plength - flength);
buff[plength - flength] = UNICODE_NULL;
if (wcslen(buff) == 2)
{
wcscat(buff, L"\\");
}
hDlgCtrl = GetDlgItem(hwndDlg, 14009);
SendMessageW(hDlgCtrl, WM_SETTEXT, (WPARAM)NULL, (LPARAM)buff);
}