From 2df086d121e8ebee872236d0436205144047c5c9 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 14 Jul 2023 15:33:48 +0800 Subject: [PATCH] Fix misreporting of window top line * src/frame.h (FRAME_TOOL_BAR_TOP_LINES): Return tool_bar_lines, not tool_bar_height. --- src/frame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frame.h b/src/frame.h index 44eefa357fc..12a3c460a5f 100644 --- a/src/frame.h +++ b/src/frame.h @@ -1003,7 +1003,7 @@ default_pixels_per_inch_y (void) #define FRAME_TOOL_BAR_TOP_LINES(f) \ ((BASE_EQ ((f)->tool_bar_position, Qtop)) \ - ? (f)->tool_bar_height : 0) + ? (f)->tool_bar_lines : 0) /* Size of F's tool bar if it is placed at the bottom of the frame. */ -- 2.39.2