1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

"whops" :) ^D<char> as last chars in line made some screen corruption and

maybe even could have crashed


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2497 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-17 14:00:34 +00:00 committed by cras
parent c39ce0430f
commit 9ebcbffd66

View File

@ -995,6 +995,9 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
flags |= GUI_PRINT_FLAG_BOLD;
}
}
if (ptr[1] == '\0')
break;
ptr++;
if (*ptr != FORMAT_COLOR_NOCHANGE) {
bgcolor = *ptr-'0';