summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-07-27 15:04:29 +0300
committerEli Zaretskii <eliz@gnu.org>2014-07-27 15:04:29 +0300
commit5c2b88050db7f9f05a71938795088f4d5b250f28 (patch)
tree6324223adbc226ae28acfa5cbe148b9a484c4808
parentfb2e15326d6757e98e4bc2c61a292bb37f852e90 (diff)
downloademacs-5c2b88050db7f9f05a71938795088f4d5b250f28.tar.gz
src/window.c (window_resize_check, window_resize_apply): Fix typos in comments.
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 5e9dd0ec718..5c4e2f97a3b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3864,7 +3864,7 @@ window_resize_check (struct window *w, bool horflag)
}
-/* Set w->pixel_height (w->pixel_height if HORIZONTAL is non-zero) to
+/* Set w->pixel_height (w->pixel_width if HORFLAG is non-zero) to
w->new_pixel for window W and recursively all child windows of W.
Also calculate and assign the new vertical (horizontal) pixel start
positions of each of these windows.
@@ -3957,7 +3957,7 @@ window_resize_apply (struct window *w, bool horflag)
}
-/* Set w->total_lines (w->total_cols if HORIZONTAL is non-zero) to
+/* Set w->total_lines (w->total_cols if HORFLAG is non-zero) to
w->new_total for window W and recursively all child windows of W.
Also calculate and assign the new vertical (horizontal) start
positions of each of these windows. */