Commit 3247e0ea authored by Eli Zaretskii's avatar Eli Zaretskii

src/window.c (window_scroll_pixel_based): Fix a typo in a comment.

parent 29a13e2a
...@@ -4937,8 +4937,8 @@ window_scroll_pixel_based (Lisp_Object window, int n, bool whole, int noerror) ...@@ -4937,8 +4937,8 @@ window_scroll_pixel_based (Lisp_Object window, int n, bool whole, int noerror)
/* The function move_iterator_vertically may move over more than /* The function move_iterator_vertically may move over more than
the specified y-distance. If it->w is small, e.g. a the specified y-distance. If it->w is small, e.g. a
mini-buffer window, we may end up in front of the window's mini-buffer window, we may end up in front of the window's
display area. This is the case when Start displaying at the display area. Start displaying at the start of the line
start of the line containing PT in this case. */ containing PT in this case. */
if (it.current_y <= 0) if (it.current_y <= 0)
{ {
init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment