summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-18 22:54:05 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-18 22:54:05 +0000
commit39ed5066f25e8490232f08a1c3dd8bb3f193fe2a (patch)
tree95ee72e03ca65eede717914b3e3469fa4e8cb77d /src
parent38746398cbdb7a023e1430f53c574e279650b57d (diff)
downloadirssi-39ed5066f25e8490232f08a1c3dd8bb3f193fe2a.zip
/LASTLOG ignored LINE_CMD_COLOR0 commands.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@487 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/gui-textwidget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-text/gui-textwidget.c b/src/fe-text/gui-textwidget.c
index 288e9851..f436a9d6 100644
--- a/src/fe-text/gui-textwidget.c
+++ b/src/fe-text/gui-textwidget.c
@@ -72,6 +72,9 @@ static gchar *gui_window_line2text(LINE_REC *line)
case LINE_CMD_UNDERLINE:
g_string_append_c(str, 31);
break;
+ case LINE_CMD_COLOR0:
+ g_string_sprintfa(str, "\003%c%c", 1, ((color & 0xf0) >> 4)+1);
+ break;
case LINE_CMD_COLOR8:
g_string_sprintfa(str, "\003%c%c", 9, ((color & 0xf0) >> 4)+1);
color &= 0xfff0;