xdisp.c (display_line): Fix the change made for bug#7939.

This commit is contained in:
Eli Zaretskii 2011-02-18 17:11:10 +02:00
parent d6de49a103
commit 42af913dd4
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2011-02-18 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (display_line): Fix the change made for bug#7939.
* terminal.c (create_terminal): Use default-keyboard-coding-system
and default-terminal-coding-system to initialize coding systems of
the new terminal. (Bug#7840)

View file

@ -17294,7 +17294,7 @@ display_line (struct it *it)
if the first glyph is partially visible or if we hit a line end. */
if (it->current_x < it->first_visible_x)
{
SET_TEXT_POS (this_line_min_pos, ZV + 1, ZV_BYTE + 1);
this_line_min_pos = row->start.pos;
move_it_in_display_line_to (it, ZV, it->first_visible_x,
MOVE_TO_POS | MOVE_TO_X);
/* Record the smallest positions seen while we moved over