mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[SHELL32]: Use Unicode version of GetWindowTextLength in the Run dialog box.
svn path=/trunk/; revision=70989
This commit is contained in:
parent
e43a9a5105
commit
ac22a1149a
|
@ -350,7 +350,7 @@ static void EnableOkButtonFromEditContents(HWND hwnd)
|
|||
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));
|
||||
|
|
Loading…
Reference in a new issue