mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-03 06:32:17 -05:00
Reset entry attributes on newlines
This commit is contained in:
parent
2e08b3a2da
commit
a284219abd
@ -930,6 +930,11 @@ check_attributes (SexySpellEntry *entry, const char *text, int len)
|
|||||||
insert_color (entry, i, COL_BG, COL_FG);
|
insert_color (entry, i, COL_BG, COL_FG);
|
||||||
goto check_color;
|
goto check_color;
|
||||||
|
|
||||||
|
case '\n':
|
||||||
|
insert_reset (entry, i);
|
||||||
|
parsing_color = 0;
|
||||||
|
break;
|
||||||
|
|
||||||
case ATTR_COLOR:
|
case ATTR_COLOR:
|
||||||
parsing_color = 1;
|
parsing_color = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user