]> git.eshelyaron.com Git - emacs.git/commitdiff
src/window.c (window_resize_check, window_resize_apply): Fix typos in comments.
authorEli Zaretskii <eliz@gnu.org>
Sun, 27 Jul 2014 12:04:29 +0000 (15:04 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 27 Jul 2014 12:04:29 +0000 (15:04 +0300)
src/window.c

index 5e9dd0ec718cc51011359d5270a724d3c83d1f53..5c4e2f97a3bc80556bd718b8cdaa0964d4380454 100644 (file)
@@ -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.  */