Mercurial > vim
diff src/gui_w48.c @ 816:4a79d6d376f0 v7.0c02
updated for version 7.0c02
author | vimboss |
---|---|
date | Tue, 28 Mar 2006 21:08:56 +0000 |
parents | d2c169a725c8 |
children | 1f929f3ca806 |
line wrap: on
line diff
--- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -1121,8 +1121,7 @@ gui_mch_set_text_area_pos(int x, int y, top = TOOLBAR_BUTTON_HEIGHT + TOOLBAR_BORDER_HEIGHT; #endif - GetWindowRect(s_hwnd, &rect); - SetRect(&rect, 0, top, rect.right, TABLINE_HEIGHT); + SetRect(&rect, 0, top, w, TABLINE_HEIGHT); TabCtrl_AdjustRect(s_tabhwnd, TRUE, &rect); MoveWindow(s_tabhwnd, 0, top, rect.right, rect.bottom, TRUE); }