Avoid unnecessary if
This commit is contained in:
parent
f1fe0bf40a
commit
f3830aa854
1 changed files with 1 additions and 3 deletions
|
|
@ -1534,9 +1534,7 @@ screen_reverse_scroll_and_fill_from_scrollback(Screen *self, unsigned int count)
|
|||
|
||||
void
|
||||
screen_carriage_return(Screen *self) {
|
||||
if (self->cursor->x != 0) {
|
||||
self->cursor->x = 0;
|
||||
}
|
||||
self->cursor->x = 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue