Avoid long futile looping on a TTY under huge values of hscroll.
authorEli Zaretskii <eliz@gnu.org>
Thu, 5 Jul 2012 16:28:34 +0000 (19:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 5 Jul 2012 16:28:34 +0000 (19:28 +0300)
commit6dd5a677dbf794eedaa8325c46d57ac041373361
tree9e264af8f4ed73fe7cf65a8290c28f3a1cd53806
parent6b312f0fec9becd1ce97f55d5707e79586f954eb
Avoid long futile looping on a TTY under huge values of hscroll.

 src/xdisp.c (display_line): Fix horizontal pixel coordinates when
 hscroll is larger than the line width.  Fixes long and futile
 looping inside extend_face_to_end_of_line (on a TTY) producing
 glyphs that are not needed and thrown away.
src/ChangeLog
src/xdisp.c