Commit b0d15b4f authored by Stefan Monnier's avatar Stefan Monnier

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

parent f5a96a4f
2011-11-20 Stefan Monnier <>
* window.c (get_phys_cursor_glyph): Fix Lisp_Object/int mixup.
2011-11-20 Juanma Barranquero <>
* nsfont.m (syms_of_nsfont) <ns-reg-to-script>: Fix typo.
......@@ -5783,7 +5783,7 @@ get_phys_cursor_glyph (struct window *w)
if (!row->enabled_p)
return NULL;
if (w->hscroll)
if (XINT (w->hscroll))
/* When the window is hscrolled, cursor hpos can legitimately be
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