diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-05-30 15:33:21 +0000 |
---|---|---|
committer | Chris Wilson <cpwilson@src.gnome.org> | 2007-05-30 15:33:21 +0000 |
commit | 52bc6496141ff4a3075cb42d3a2e20afc05977b2 (patch) | |
tree | 962a0430a0d99156125e1748df378b60de6fe047 | |
parent | f7ede118f9b7cd6561f24d1526717e5da746ef6a (diff) | |
download | vte-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-- | ChangeLog | 11 | ||||
-rw-r--r-- | src/vte.c | 6 |
2 files changed, 14 insertions, 3 deletions
@@ -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. @@ -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 == ' ' || |