summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-08-14 14:57:55 +0000
committerBram Moolenaar <Bram@vim.org>2007-08-14 14:57:55 +0000
commit2b80e65818cb3122862de0ffdc72623dab435b83 (patch)
tree14ee54354036ebce541a878935105996213d2c3a
parentd2c765e688426a98583d73f1e8b971cd5e37940b (diff)
downloadvim-git-2b80e65818cb3122862de0ffdc72623dab435b83.tar.gz
updated for version 7.1-070v7.1.070
-rw-r--r--src/gui_w32.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index d6aa1a503..092d8d516 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -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;
}
diff --git a/src/version.c b/src/version.c
index fce1bcd28..999621cdd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 70,
+/**/
69,
/**/
68,