mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
updated for version 7.1-070
This commit is contained in:
@@ -2894,6 +2894,10 @@ dialog_callback(
|
||||
(void)SetFocus(hwnd);
|
||||
if (dialog_default_button > IDCANCEL)
|
||||
(void)SetFocus(GetDlgItem(hwnd, dialog_default_button));
|
||||
else
|
||||
/* We don't have a default, set focus on another element of the
|
||||
* dialog window, probably the icon */
|
||||
(void)SetFocus(GetDlgItem(hwnd, DLG_NONBUTTON_CONTROL));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user