emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] ea0f750 ea0f750: Fix comments on window height macros


From: Noam Postavsky
Subject: [Emacs-diffs] ea0f750 ea0f750: Fix comments on window height macros
Date: Sun, 11 Sep 2016 20:35:24 +0000 (UTC)

branch: ea0f750
commit ea0f750e5c1baa21c3ae1b22364662915c2b038f
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Fix comments on window height macros
    
    * src/window.h (WINDOW_MODE_LINE_HEIGHT, WINDOW_HEADER_LINE_HEIGHT): Fix
    confusing claim that "height is in pixels and in lines"; in fact it's in
    pixels.
---
 src/window.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/window.h b/src/window.h
index 0cfff88..4845f75 100644
--- a/src/window.h
+++ b/src/window.h
@@ -913,7 +913,7 @@ wset_next_buffers (struct window *w, Lisp_Object val)
    ? WINDOW_CONFIG_SCROLL_BAR_HEIGHT (W)       \
    : 0)
 
-/* Height in pixels, and in lines, of the mode line.
+/* Height in pixels of the mode line.
    May be zero if W doesn't have a mode line.  */
 #define WINDOW_MODE_LINE_HEIGHT(W)     \
   (WINDOW_WANTS_MODELINE_P ((W))       \
@@ -923,7 +923,7 @@ wset_next_buffers (struct window *w, Lisp_Object val)
 #define WINDOW_MODE_LINE_LINES(W)      \
   WINDOW_WANTS_MODELINE_P (W)
 
-/* Height in pixels, and in lines, of the header line.
+/* Height in pixels of the header line.
    Zero if W doesn't have a header line.  */
 #define WINDOW_HEADER_LINE_HEIGHT(W)   \
   (WINDOW_WANTS_HEADER_LINE_P (W)      \



reply via email to

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