Fix bug #11653 with cursor positioning in a row that has only strings.
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Jun 2012 09:57:56 +0000 (12:57 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Jun 2012 09:57:56 +0000 (12:57 +0300)
commit2f07e6afc932d0be7256c7700e9c11d61075aeaf
tree13975fa5691768d214e290ba66ff14c352e37e26
parent771e3eae1e110cbf1ba50ae25bfcf560fdb0822c
Fix bug #11653 with cursor positioning in a row that has only strings.

 src/xdisp.c (set_cursor_from_row): Don't dereference glyphs_end.  If
 all the glyphs of the glyph row came from strings, and we have no
 cursor positioning clues, put the cursor on the first glyph of the
 row.
src/ChangeLog
src/xdisp.c