Commit b0d15b4f authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* src/window.c (get_phys_cursor_glyph): Fix Lisp_Object/int mixup.

parent f5a96a4f
2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
* window.c (get_phys_cursor_glyph): Fix Lisp_Object/int mixup.
2011-11-20 Juanma Barranquero <lekktu@gmail.com> 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
* nsfont.m (syms_of_nsfont) <ns-reg-to-script>: Fix typo. * nsfont.m (syms_of_nsfont) <ns-reg-to-script>: Fix typo.
......
...@@ -5783,7 +5783,7 @@ get_phys_cursor_glyph (struct window *w) ...@@ -5783,7 +5783,7 @@ get_phys_cursor_glyph (struct window *w)
if (!row->enabled_p) if (!row->enabled_p)
return NULL; return NULL;
if (w->hscroll) if (XINT (w->hscroll))
{ {
/* When the window is hscrolled, cursor hpos can legitimately be /* When the window is hscrolled, cursor hpos can legitimately be
out of bounds, but we draw the cursor at the corresponding out of bounds, but we draw the cursor at the corresponding
......
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