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:
parent
38746398cb
commit
39ed5066f2
@ -72,6 +72,9 @@ static gchar *gui_window_line2text(LINE_REC *line)
|
|||||||
case LINE_CMD_UNDERLINE:
|
case LINE_CMD_UNDERLINE:
|
||||||
g_string_append_c(str, 31);
|
g_string_append_c(str, 31);
|
||||||
break;
|
break;
|
||||||
|
case LINE_CMD_COLOR0:
|
||||||
|
g_string_sprintfa(str, "\003%c%c", 1, ((color & 0xf0) >> 4)+1);
|
||||||
|
break;
|
||||||
case LINE_CMD_COLOR8:
|
case LINE_CMD_COLOR8:
|
||||||
g_string_sprintfa(str, "\003%c%c", 9, ((color & 0xf0) >> 4)+1);
|
g_string_sprintfa(str, "\003%c%c", 9, ((color & 0xf0) >> 4)+1);
|
||||||
color &= 0xfff0;
|
color &= 0xfff0;
|
||||||
|
Loading…
Reference in New Issue
Block a user