aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 535ab474373..3bce256f2db 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -4421,7 +4421,7 @@ update_text_area (w, vpos)
4421 /* If old row extends to the end of the text area, clear. */ 4421 /* If old row extends to the end of the text area, clear. */
4422 if (i >= desired_row->used[TEXT_AREA]) 4422 if (i >= desired_row->used[TEXT_AREA])
4423 rif->cursor_to (vpos, i, desired_row->y, 4423 rif->cursor_to (vpos, i, desired_row->y,
4424 desired_row->x + desired_row->pixel_width); 4424 desired_row->pixel_width);
4425 rif->clear_end_of_line (-1); 4425 rif->clear_end_of_line (-1);
4426 changed_p = 1; 4426 changed_p = 1;
4427 } 4427 }
@@ -4433,7 +4433,7 @@ update_text_area (w, vpos)
4433 4433
4434 if (i >= desired_row->used[TEXT_AREA]) 4434 if (i >= desired_row->used[TEXT_AREA])
4435 rif->cursor_to (vpos, i, desired_row->y, 4435 rif->cursor_to (vpos, i, desired_row->y,
4436 desired_row->x + desired_row->pixel_width); 4436 desired_row->pixel_width);
4437 4437
4438 /* If cursor is displayed at the end of the line, make sure 4438 /* If cursor is displayed at the end of the line, make sure
4439 it's cleared. Nowadays we don't have a phys_cursor_glyph 4439 it's cleared. Nowadays we don't have a phys_cursor_glyph
@@ -4447,7 +4447,7 @@ update_text_area (w, vpos)
4447 x = -1; 4447 x = -1;
4448 } 4448 }
4449 else 4449 else
4450 x = current_row->x + current_row->pixel_width; 4450 x = current_row->pixel_width;
4451 rif->clear_end_of_line (x); 4451 rif->clear_end_of_line (x);
4452 changed_p = 1; 4452 changed_p = 1;
4453 } 4453 }