diff --git a/dll/win32/shell32/fprop.cpp b/dll/win32/shell32/fprop.cpp index 15c2c6fbef6..3d317998a98 100644 --- a/dll/win32/shell32/fprop.cpp +++ b/dll/win32/shell32/fprop.cpp @@ -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); }