aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorEli Zaretskii2014-11-03 20:22:07 +0200
committerEli Zaretskii2014-11-03 20:22:07 +0200
commit3247e0eae0f585efebb8ac8f1659f91c4c2fbe8e (patch)
tree997e8b0c4a3518dfea4925864710d4b045eb3c4c /src/window.c
parent29a13e2afea61b379e8da8a7dcdee475b7f21a27 (diff)
downloademacs-3247e0eae0f585efebb8ac8f1659f91c4c2fbe8e.tar.gz
emacs-3247e0eae0f585efebb8ac8f1659f91c4c2fbe8e.zip
src/window.c (window_scroll_pixel_based): Fix a typo in a comment.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 2210d5bc868..b00242311a6 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4937,8 +4937,8 @@ window_scroll_pixel_based (Lisp_Object window, int n, bool whole, int noerror)
4937 /* The function move_iterator_vertically may move over more than 4937 /* The function move_iterator_vertically may move over more than
4938 the specified y-distance. If it->w is small, e.g. a 4938 the specified y-distance. If it->w is small, e.g. a
4939 mini-buffer window, we may end up in front of the window's 4939 mini-buffer window, we may end up in front of the window's
4940 display area. This is the case when Start displaying at the 4940 display area. Start displaying at the start of the line
4941 start of the line containing PT in this case. */ 4941 containing PT in this case. */
4942 if (it.current_y <= 0) 4942 if (it.current_y <= 0)
4943 { 4943 {
4944 init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); 4944 init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID);