summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui.c b/src/gui.c
index 0fdcabe5a..400689178 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -1160,7 +1160,7 @@ gui_position_components(total_width)
# if defined(FEAT_GUI_TABLINE) && (defined(FEAT_GUI_MSWIN) \
|| defined(FEAT_GUI_MOTIF))
if (gui_has_tabline())
- text_area_y += TABLINE_HEIGHT;
+ text_area_y += gui.tabline_height;
#endif
#if defined(FEAT_TOOLBAR) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA))
@@ -1247,7 +1247,7 @@ gui_get_base_height()
# if defined(FEAT_GUI_TABLINE) && (defined(FEAT_GUI_MSWIN) \
|| defined(FEAT_GUI_MOTIF))
if (gui_has_tabline())
- base_height += TABLINE_HEIGHT;
+ base_height += gui.tabline_height;
# endif
# ifdef FEAT_FOOTER
if (vim_strchr(p_go, GO_FOOTER) != NULL)
@@ -3992,7 +3992,7 @@ gui_update_scrollbars(force)
#if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
if (gui_has_tabline())
- y += TABLINE_HEIGHT;
+ y += gui.tabline_height;
#endif
#ifdef FEAT_WINDOWS