emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2df086d121e: Fix misreporting of window top line


From: Po Lu
Subject: master 2df086d121e: Fix misreporting of window top line
Date: Fri, 14 Jul 2023 03:34:34 -0400 (EDT)

branch: master
commit 2df086d121e8ebee872236d0436205144047c5c9
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]