From d2cec5b043361ee798a0522244135f4ea87838f6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 28 Mar 2006 21:08:56 +0000 Subject: updated for version 7.0c02 --- src/gui_w48.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui_w48.c') diff --git a/src/gui_w48.c b/src/gui_w48.c index c4ce0bc98..8b4684a40 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -1121,8 +1121,7 @@ gui_mch_set_text_area_pos(int x, int y, int w, int h) 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); } -- cgit v1.2.1