summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-09 21:06:45 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-09 21:06:45 +0000
commitd256f71a004e56578c6b45287c7d3f53574e4f0d (patch)
treec70c1bf82b329a663881793bd2e0fbed21013336 /src/perl
parentf8f1f814a511376bfae25ef4daeadf9c6ac57d64 (diff)
downloadirssi-d256f71a004e56578c6b45287c7d3f53574e4f0d.zip
Highlighting cleanups. Added /HILIGHT -priority option.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/perl-common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c
index 500d6145..145b72c3 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -240,8 +240,8 @@ void perl_window_item_fill_hash(HV *hv, WI_ITEM_REC *item)
hv_store(hv, "name", 4, new_pv(item->name), 0);
hv_store(hv, "createtime", 10, newSViv(item->createtime), 0);
- hv_store(hv, "new_data", 8, newSViv(item->new_data), 0);
- hv_store(hv, "last_color", 10, newSViv(item->last_color), 0);
+ hv_store(hv, "data_level", 8, newSViv(item->data_level), 0);
+ hv_store(hv, "hilight_color", 10, newSViv(item->hilight_color), 0);
}
void perl_channel_fill_hash(HV *hv, CHANNEL_REC *channel)
@@ -403,8 +403,8 @@ void perl_window_fill_hash(HV *hv, WINDOW_REC *window)
hv_store(hv, "lines", 5, newSViv(window->lines), 0);
hv_store(hv, "level", 5, newSViv(window->level), 0);
- hv_store(hv, "new_data", 8, newSViv(window->new_data), 0);
- hv_store(hv, "last_color", 10, newSViv(window->last_color), 0);
+ hv_store(hv, "data_level", 8, newSViv(window->data_level), 0);
+ hv_store(hv, "hilight_color", 10, newSViv(window->hilight_color), 0);
hv_store(hv, "last_timestamp", 14, newSViv(window->last_timestamp), 0);
hv_store(hv, "last_line", 9, newSViv(window->last_line), 0);
}