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:
parent
c39ce0430f
commit
9ebcbffd66
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user