[vte/wip/egmont/bidi: 7/75] explicit rtl, basic painting okay



commit 9d45a4a5a8f094871b2c85a2028e28ec6e4c091a
Author: Egmont Koblinger <egmont gmail com>
Date:   Sat Aug 18 16:59:59 2018 +0200

    explicit rtl, basic painting okay

 src/vte.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index f8a912f2..3fd0e2c5 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8882,8 +8882,8 @@ Terminal::draw_rows(VteScreen *screen_,
                         /* Get the character cell's contents. */
                         cell = _vte_row_data_get_bidi (row_data, col);
                         if (cell == NULL) {
-                                /* There'll be no more real cells in this row. */
-                                break;
+                                /* We're rendering BiDi text in visual order, so an unused cell can be 
followed by a used one. */
+                                continue;
                         }
 
                         nhyperlink = (m_allow_hyperlink && cell->attr.hyperlink_idx != 0);


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