aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2023-07-14 15:33:48 +0800
committerPo Lu2023-07-14 15:33:48 +0800
commit2df086d121e8ebee872236d0436205144047c5c9 (patch)
tree095c36cc464882f3d6d8e7996e4d5c9e591a9446 /src
parent01b80a6f0e40a4390717a79a73c61899e2ec2968 (diff)
downloademacs-2df086d121e8ebee872236d0436205144047c5c9.tar.gz
emacs-2df086d121e8ebee872236d0436205144047c5c9.zip
Fix misreporting of window top line
* src/frame.h (FRAME_TOOL_BAR_TOP_LINES): Return tool_bar_lines, not tool_bar_height.
Diffstat (limited to 'src')
-rw-r--r--src/frame.h2
1 files changed, 1 insertions, 1 deletions
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)
1003 1003
1004#define FRAME_TOOL_BAR_TOP_LINES(f) \ 1004#define FRAME_TOOL_BAR_TOP_LINES(f) \
1005 ((BASE_EQ ((f)->tool_bar_position, Qtop)) \ 1005 ((BASE_EQ ((f)->tool_bar_position, Qtop)) \
1006 ? (f)->tool_bar_height : 0) 1006 ? (f)->tool_bar_lines : 0)
1007 1007
1008/* Size of F's tool bar if it is placed at the bottom of the 1008/* Size of F's tool bar if it is placed at the bottom of the
1009 frame. */ 1009 frame. */