Author: hbelusca Date: Thu Mar 10 00:05:00 2016 New Revision: 70989
URL: http://svn.reactos.org/svn/reactos?rev=70989&view=rev Log: [SHELL32]: Use Unicode version of GetWindowTextLength in the Run dialog box.
Modified: trunk/reactos/dll/win32/shell32/dialogs/dialogs.cpp
Modified: trunk/reactos/dll/win32/shell32/dialogs/dialogs.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/dialogs/d... ============================================================================== --- trunk/reactos/dll/win32/shell32/dialogs/dialogs.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/dialogs/dialogs.cpp [iso-8859-1] Thu Mar 10 00:05:00 2016 @@ -350,7 +350,7 @@ BOOL Enable = FALSE; INT Length, n; HWND Edit = GetDlgItem(hwnd, IDC_RUNDLG_EDITPATH); - Length = GetWindowTextLengthA(Edit); + Length = GetWindowTextLengthW(Edit); if (Length > 0) { PWCHAR psz = (PWCHAR)HeapAlloc(GetProcessHeap(), 0, (Length + 1) * sizeof(WCHAR));