[vte/wip/egmont/bidi: 34/76] prepare draw_cells for a likely forthcoming change
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/egmont/bidi: 34/76] prepare draw_cells for a likely forthcoming change
- Date: Fri, 5 Oct 2018 13:03:51 +0000 (UTC)
commit 9ae8fc33f0d88b9714e097061ac30759648e5d3c
Author: Egmont Koblinger <egmont gmail com>
Date: Fri Aug 24 12:27:18 2018 +0200
prepare draw_cells for a likely forthcoming change
src/vte.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index a51d380d..355d766c 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8376,7 +8376,7 @@ Terminal::draw_cells(struct _vte_draw_text_request *items,
columns = 0;
x = items[i].x;
y = items[i].y;
- /* Items are not necessarily contiguous. */
+ /* Items are not necessarily contiguous in LTR order. Combine the ones that form an LTR run.
*/
for (; i < n && items[i].x == x + columns * column_width && items[i].y == y; i++) {
columns += items[i].columns;
}
@@ -8417,7 +8417,7 @@ Terminal::draw_cells(struct _vte_draw_text_request *items,
do {
x = items[i].x;
y = items[i].y;
- /* Items are not necessarily contiguous. */
+ /* Items are not necessarily contiguous in LTR order. Combine the ones that form an
LTR run. */
for (columns = 0; i < n && items[i].x == x + columns * column_width && items[i].y ==
y; i++) {
columns += items[i].columns;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]