summaryrefslogtreecommitdiff
path: root/src/gui_w48.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-28 21:08:56 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-28 21:08:56 +0000
commitd2cec5b043361ee798a0522244135f4ea87838f6 (patch)
tree3ad43aed8a8c373f85a2a3adf286b045c14f6cfe /src/gui_w48.c
parent607a95ed81973faab2e1c3d9c91822082694fdc3 (diff)
downloadvim-git-d2cec5b043361ee798a0522244135f4ea87838f6.tar.gz
updated for version 7.0c02v7.0c02
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r--src/gui_w48.c3
1 files changed, 1 insertions, 2 deletions
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);
}