diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index dbedca2a817..35fba210be5 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -1613,7 +1613,7 @@ update_line (frame, vpos) | |||
| 1613 | if (! current_frame->highlight[vpos]) | 1613 | if (! current_frame->highlight[vpos]) |
| 1614 | { | 1614 | { |
| 1615 | if (!must_write_spaces) | 1615 | if (!must_write_spaces) |
| 1616 | while (obody[olen - 1] == SPACEGLYPH && olen > 0) | 1616 | while (olen > 0 && obody[olen - 1] == SPACEGLYPH) |
| 1617 | olen--; | 1617 | olen--; |
| 1618 | } | 1618 | } |
| 1619 | else | 1619 | else |