summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-05-30 15:33:21 +0000
committerChris Wilson <cpwilson@src.gnome.org>2007-05-30 15:33:21 +0000
commit52bc6496141ff4a3075cb42d3a2e20afc05977b2 (patch)
tree962a0430a0d99156125e1748df378b60de6fe047
parentf7ede118f9b7cd6561f24d1526717e5da746ef6a (diff)
downloadvte-52bc6496141ff4a3075cb42d3a2e20afc05977b2.tar.gz
fcrozat pointed out 'some strange "underline" line where cursor is located
2007-05-30 Chris Wilson <chris@chris-wilson.co.uk> fcrozat pointed out 'some strange "underline" line where cursor is located and blinking'. * src/vte.c (vte_terminal_draw_rows): Continuation of the previous commit: catch a couple more locations where we need to skip past the end of the line. The problem in this case was we tried to use some uninitialised variables whilst trying to draw the cell attributes. svn path=/trunk/; revision=1904
-rw-r--r--ChangeLog11
-rw-r--r--src/vte.c6
2 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index dfe516f4..25f1d62f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2007-05-30 Chris Wilson <chris@chris-wilson.co.uk>
+
+ fcrozat pointed out 'some strange "underline" line where cursor is
+ located and blinking'.
+
+ * src/vte.c (vte_terminal_draw_rows):
+ Continuation of the previous commit: catch a couple more locations
+ where we need to skip past the end of the line. The problem in
+ this case was we tried to use some uninitialised variables whilst
+ trying to draw the cell attributes.
+
2007-05-28 Behdad Esfahbod <behdad@gnome.org>
Released vte-0.16.4.
diff --git a/src/vte.c b/src/vte.c
index 2c0ae8aa..0219a984 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -9464,14 +9464,14 @@ vte_terminal_draw_rows(VteTerminal *terminal,
do {
row_data = _vte_terminal_find_row_data(terminal, row);
if (row_data == NULL) {
- goto fg_next_row;
+ goto fg_skip_row;
}
/* Back up in case this is a multicolumn character,
* making the drawing area a little wider. */
i = start_column;
cell = _vte_row_data_find_charcell(row_data, i);
if (cell == NULL) {
- goto fg_next_row;
+ goto fg_skip_row;
}
while (cell->attr.fragment && i > 0) {
cell = _vte_row_data_find_charcell(row_data, --i);
@@ -9482,7 +9482,7 @@ vte_terminal_draw_rows(VteTerminal *terminal,
/* Get the character cell's contents. */
cell = _vte_row_data_find_charcell(row_data, i);
if (cell == NULL) {
- goto fg_next_row;
+ goto fg_skip_row;
}
while (cell->c == 0 ||
cell->c == ' ' ||