summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <cpwilson@src.gnome.org>2007-02-24 00:40:13 +0000
committerChris Wilson <cpwilson@src.gnome.org>2007-02-24 00:40:13 +0000
commitfabc7a725dbca8be89edcc490c65f8060ab31d69 (patch)
tree3b5dc4043af3101d3c5d90bd8731c839f9698b3f
parent3d2d95f14d68ca6f9fd00512bd240165d7a5ffd3 (diff)
downloadvte-fabc7a725dbca8be89edcc490c65f8060ab31d69.tar.gz
whoops, that was meant to test show_match before rendering the hilite
svn path=/trunk/; revision=1740
-rw-r--r--src/vte.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vte.c b/src/vte.c
index 077ea198..4aa3a127 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -9300,7 +9300,7 @@ vte_terminal_draw_rows(VteTerminal *terminal,
underline = cell->underline;
strikethrough = cell->strikethrough;
bold = cell->bold;
- if (terminal->pvt->match != NULL) {
+ if (terminal->pvt->show_match) {
hilite = vte_cell_is_between(i, row,
terminal->pvt->match_start.column,
terminal->pvt->match_start.row,
@@ -9404,7 +9404,7 @@ vte_terminal_draw_rows(VteTerminal *terminal,
}
/* Break up matched/not-matched text. */
nhilite = FALSE;
- if (terminal->pvt->match != NULL) {
+ if (terminal->pvt->show_match) {
nhilite = vte_cell_is_between(j, row,
terminal->pvt->match_start.column,
terminal->pvt->match_start.row,
@@ -9744,7 +9744,7 @@ vte_terminal_paint(GtkWidget *widget, GdkRegion *region)
item.columns,
height)) {
gboolean hilite = FALSE;
- if (cell && terminal->pvt->match != NULL) {
+ if (cell && terminal->pvt->show_match) {
hilite = vte_cell_is_between(col, row,
terminal->pvt->match_start.column,
terminal->pvt->match_start.row,
@@ -9784,7 +9784,7 @@ draw_cursor_outline:
item.columns,
height)) {
gboolean hilite = FALSE;
- if (cell && terminal->pvt->match != NULL) {
+ if (cell && terminal->pvt->show_match) {
hilite = vte_cell_is_between(col, row,
terminal->pvt->match_start.column,
terminal->pvt->match_start.row,