From: Po Lu Date: Fri, 14 Jul 2023 07:33:48 +0000 (+0800) Subject: Fix misreporting of window top line X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2df086d121e8ebee872236d0436205144047c5c9;p=emacs.git Fix misreporting of window top line * src/frame.h (FRAME_TOOL_BAR_TOP_LINES): Return tool_bar_lines, not tool_bar_height. --- 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. */