[vte/wip/egmont/bidi] fix crash when selecting autoscrolls



commit d3294a277a6c7ddd756bdbfca2a556e04a437542
Author: Egmont Koblinger <egmont gmail com>
Date:   Wed Sep 19 13:59:35 2018 +0200

    fix crash when selecting autoscrolls

 src/vte.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index 13727451..0452f641 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -1621,7 +1621,7 @@ Terminal::selection_grid_half_coords_from_view_coords(vte::view::coords const& p
 
         if (!m_selection_block_mode) {
                 /* BiDi: convert to logical half column. */
-                vte::base::BidiRow const* bidirow = m_ringview.get_row_map(row);
+                vte::base::BidiRow const* bidirow = m_ringview.get_row_map(confine_grid_row(row));
                 colhalf = bidirow->vis2log(colhalf, 2);
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]