* src/window.c (get_phys_cursor_glyph): Fix Lisp_Object/int mixup.
This commit is contained in:
parent
f5a96a4fe8
commit
b0d15b4f05
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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>
|
||||
|
||||
* 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
|
||||
|
|
Loading…
Add table
Reference in a new issue