mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[shell32.dll]
- Fix bug 6316. Patch by Edijs Kolesnikovics. svn path=/branches/shell32_new-bringup/; revision=53623
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user