termptyops: fix clearing cells on scroll

cells has already the offset taken into account
This commit is contained in:
Boris Faure 2017-06-06 23:49:24 +02:00
parent 400b675fc9
commit e314dd2f29
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ termpty_text_scroll(Termpty *ty, Eina_Bool clear)
termpty_cell_copy(ty, cells, cells2, w);
}
if (clear)
termpty_cells_clear(ty, cells + x, w);
termpty_cells_clear(ty, cells, w);
}
}