0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -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); (void)SetFocus(hwnd);
if (dialog_default_button > IDCANCEL) if (dialog_default_button > IDCANCEL)
(void)SetFocus(GetDlgItem(hwnd, dialog_default_button)); (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; return FALSE;
} }

View File

@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
70,
/**/ /**/
69, 69,
/**/ /**/