Author: cmihail
Date: Wed Sep 7 17:10:45 2011
New Revision: 53623
URL:
http://svn.reactos.org/svn/reactos?rev=53623&view=rev
Log:
[shell32.dll]
- Fix bug 6316. Patch by Edijs Kolesnikovics.
Modified:
branches/shell32_new-bringup/dll/win32/shell32/fprop.cpp
Modified: branches/shell32_new-bringup/dll/win32/shell32/fprop.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/shell32_new-bringup/dll/win32/s…
==============================================================================
--- branches/shell32_new-bringup/dll/win32/shell32/fprop.cpp [iso-8859-1] (original)
+++ branches/shell32_new-bringup/dll/win32/shell32/fprop.cpp [iso-8859-1] Wed Sep 7
17:10:45 2011
@@ -259,6 +259,12 @@
/* 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);
}