summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-07-17 21:59:13 +0200
committerBram Moolenaar <Bram@vim.org>2013-07-17 21:59:13 +0200
commita8f96397a1677a1fe8ff3964d0bee4d5529fca0a (patch)
tree857d5429f64b51d0dd2414513d9fbcd888e248b4 /src
parentb7a846d0e04e2b0131fe6374f1ccdae5c7266776 (diff)
updated for version 7.4a.034v7.4a.034
Problem: The tabline may flicker when opening a new tab after 7.3.759 on Win32. Solution: Move call to TabCtrl_SetCurSel(). (Ken Takata)
Diffstat (limited to 'src')
-rw-r--r--src/gui_w48.c10
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 5 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c
index 78aba03be1..8097fb9c1d 100644
--- a/src/gui_w48.c
+++ b/src/gui_w48.c
@@ -2529,13 +2529,13 @@ gui_mch_update_tabline(void)
while (nr < TabCtrl_GetItemCount(s_tabhwnd))
TabCtrl_DeleteItem(s_tabhwnd, nr);
- if (TabCtrl_GetCurSel(s_tabhwnd) != curtabidx)
- TabCtrl_SetCurSel(s_tabhwnd, curtabidx);
-
/* Re-enable redraw and redraw. */
SendMessage(s_tabhwnd, WM_SETREDRAW, (WPARAM)TRUE, 0);
RedrawWindow(s_tabhwnd, NULL, NULL,
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
+
+ if (TabCtrl_GetCurSel(s_tabhwnd) != curtabidx)
+ TabCtrl_SetCurSel(s_tabhwnd, curtabidx);
}
/*
@@ -2548,8 +2548,8 @@ gui_mch_set_curtab(nr)
if (s_tabhwnd == NULL)
return;
- if (TabCtrl_GetCurSel(s_tabhwnd) != nr -1)
- TabCtrl_SetCurSel(s_tabhwnd, nr -1);
+ if (TabCtrl_GetCurSel(s_tabhwnd) != nr - 1)
+ TabCtrl_SetCurSel(s_tabhwnd, nr - 1);
}
#endif
diff --git a/src/version.c b/src/version.c
index 2ac4f98849..3dadcaf77b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 34,
+/**/
33,
/**/
32,