diff options
| author | Noam Postavsky | 2016-09-11 16:25:13 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2016-09-11 16:32:09 -0400 |
| commit | ea0f750e5c1baa21c3ae1b22364662915c2b038f (patch) | |
| tree | 099b785d9a066518d0cdc0f6d4435b843d21d3c5 /src | |
| parent | 0bbdeed10f37d4ce203e1f5feb0cd7c4b5eeec72 (diff) | |
| download | emacs-ea0f750e5c1baa21c3ae1b22364662915c2b038f.tar.gz emacs-ea0f750e5c1baa21c3ae1b22364662915c2b038f.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h index 0cfff88be51..4845f757e3b 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -913,7 +913,7 @@ wset_next_buffers (struct window *w, Lisp_Object val) | |||
| 913 | ? WINDOW_CONFIG_SCROLL_BAR_HEIGHT (W) \ | 913 | ? WINDOW_CONFIG_SCROLL_BAR_HEIGHT (W) \ |
| 914 | : 0) | 914 | : 0) |
| 915 | 915 | ||
| 916 | /* Height in pixels, and in lines, of the mode line. | 916 | /* Height in pixels of the mode line. |
| 917 | May be zero if W doesn't have a mode line. */ | 917 | May be zero if W doesn't have a mode line. */ |
| 918 | #define WINDOW_MODE_LINE_HEIGHT(W) \ | 918 | #define WINDOW_MODE_LINE_HEIGHT(W) \ |
| 919 | (WINDOW_WANTS_MODELINE_P ((W)) \ | 919 | (WINDOW_WANTS_MODELINE_P ((W)) \ |
| @@ -923,7 +923,7 @@ wset_next_buffers (struct window *w, Lisp_Object val) | |||
| 923 | #define WINDOW_MODE_LINE_LINES(W) \ | 923 | #define WINDOW_MODE_LINE_LINES(W) \ |
| 924 | WINDOW_WANTS_MODELINE_P (W) | 924 | WINDOW_WANTS_MODELINE_P (W) |
| 925 | 925 | ||
| 926 | /* Height in pixels, and in lines, of the header line. | 926 | /* Height in pixels of the header line. |
| 927 | Zero if W doesn't have a header line. */ | 927 | Zero if W doesn't have a header line. */ |
| 928 | #define WINDOW_HEADER_LINE_HEIGHT(W) \ | 928 | #define WINDOW_HEADER_LINE_HEIGHT(W) \ |
| 929 | (WINDOW_WANTS_HEADER_LINE_P (W) \ | 929 | (WINDOW_WANTS_HEADER_LINE_P (W) \ |