[vte/wip/egmont/bidi: 58/104] don't stop extracting the paragraph	contents at the end of the viewport
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [vte/wip/egmont/bidi: 58/104] don't stop extracting the paragraph	contents at the end of the viewport
- Date: Wed, 29 May 2019 08:38:35 +0000 (UTC)
commit 21398f7f5057158512a25283095803a7c203cacf
Author: Egmont Koblinger <egmont gmail com>
Date:   Thu Aug 30 21:40:14 2018 +0200
    don't stop extracting the paragraph contents at the end of the viewport
 src/bidi.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/bidi.cc b/src/bidi.cc
index a882d738..e5ecbec6 100644
--- a/src/bidi.cc
+++ b/src/bidi.cc
@@ -303,7 +303,7 @@ vte::grid::row_t RingView::paragraph(vte::grid::row_t row)
         FriBidiChar fribidi_chars[VTE_BIDI_PARAGRAPH_LENGTH_MAX * m_width];
 
         /* Extract the paragraph's contents, omitting unused and fragment cells. */
-        while (row < m_start + m_len) {
+        while (row < _vte_ring_next(m_ring)) {
                 row_data = m_ring->index(row);
                 if (row_data == nullptr)
                         break;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]