0
0
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:
Bram Moolenaar
2007-08-14 14:57:55 +00:00
parent d2c765e688
commit 2b80e65818
2 changed files with 6 additions and 0 deletions

View File

@@ -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;
}