Commit e997909b authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

comdlg32: Return the correct path length for CDM_GETFOLDERPATH.

parent e848a6f6
...@@ -910,7 +910,7 @@ static INT_PTR FILEDLG95_HandleCustomDialogMessages(HWND hwnd, UINT uMsg, WPARAM ...@@ -910,7 +910,7 @@ static INT_PTR FILEDLG95_HandleCustomDialogMessages(HWND hwnd, UINT uMsg, WPARAM
WideCharToMultiByte(CP_ACP, 0, lpstrPath, -1, WideCharToMultiByte(CP_ACP, 0, lpstrPath, -1,
(LPSTR)lParam, (int)wParam, NULL, NULL); (LPSTR)lParam, (int)wParam, NULL, NULL);
} }
retval = lstrlenW(lpstrPath); retval = lstrlenW(lpstrPath) + 1;
break; break;
case CDM_GETFOLDERIDLIST: case CDM_GETFOLDERIDLIST:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment