1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

/LASTLOG ignored LINE_CMD_COLOR0 commands.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@487 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-18 22:54:05 +00:00 committed by cras
parent 38746398cb
commit 39ed5066f2

View File

@ -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;