[vte/wip/egmont/bidi: 22/83] fix crash when scrolling back
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/egmont/bidi: 22/83] fix crash when scrolling back
- Date: Thu, 3 Jan 2019 12:55:15 +0000 (UTC)
commit e1a7742a6d1059a6a05ded270c7e88d11cc987a4
Author: Egmont Koblinger <egmont gmail com>
Date: Thu Aug 23 00:53:53 2018 +0200
fix crash when scrolling back
src/vte.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index be279900..20139893 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8868,7 +8868,7 @@ Terminal::draw_rows(VteScreen *screen_,
// FIXME find a nicer place for these
m_ringview.set_ring (m_screen->row_data);
- m_ringview.set_rows ((long) m_screen->scroll_delta, m_row_count + 2);
+ m_ringview.set_rows ((long) m_screen->scroll_delta, m_row_count + 3);
m_ringview.set_width (m_column_count);
m_ringview.update ();
@@ -9126,7 +9126,7 @@ Terminal::paint_cursor()
// FIXME find a nicer place for these
m_ringview.set_ring (m_screen->row_data);
- m_ringview.set_rows ((long) m_screen->scroll_delta, m_row_count + 2);
+ m_ringview.set_rows ((long) m_screen->scroll_delta, m_row_count + 3);
m_ringview.set_width (m_column_count);
m_ringview.update ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]