aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2011-11-20 15:17:13 -0500
committerStefan Monnier2011-11-20 15:17:13 -0500
commitb0d15b4f051853e76f6831886a4ad5f79cec4b46 (patch)
tree929e2c47a80a9e37888a62edf28cd93785109924 /src
parentf5a96a4fe8cf76e3d4fc98534c16195669f5f664 (diff)
downloademacs-b0d15b4f051853e76f6831886a4ad5f79cec4b46.tar.gz
emacs-b0d15b4f051853e76f6831886a4ad5f79cec4b46.zip
* src/window.c (get_phys_cursor_glyph): Fix Lisp_Object/int mixup.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/window.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d0d3363d522..56404765059 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * window.c (get_phys_cursor_glyph): Fix Lisp_Object/int mixup.
4
12011-11-20 Juanma Barranquero <lekktu@gmail.com> 52011-11-20 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * nsfont.m (syms_of_nsfont) <ns-reg-to-script>: Fix typo. 7 * nsfont.m (syms_of_nsfont) <ns-reg-to-script>: Fix typo.
diff --git a/src/window.c b/src/window.c
index 4a5dcd85631..21c0cea5d14 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5783,7 +5783,7 @@ get_phys_cursor_glyph (struct window *w)
5783 if (!row->enabled_p) 5783 if (!row->enabled_p)
5784 return NULL; 5784 return NULL;
5785 5785
5786 if (w->hscroll) 5786 if (XINT (w->hscroll))
5787 { 5787 {
5788 /* When the window is hscrolled, cursor hpos can legitimately be 5788 /* When the window is hscrolled, cursor hpos can legitimately be
5789 out of bounds, but we draw the cursor at the corresponding 5789 out of bounds, but we draw the cursor at the corresponding