Reset entry attributes on newlines

This commit is contained in:
TingPing 2013-10-15 22:41:39 -04:00
parent 2e08b3a2da
commit a284219abd
1 changed files with 5 additions and 0 deletions

View File

@ -930,6 +930,11 @@ check_attributes (SexySpellEntry *entry, const char *text, int len)
insert_color (entry, i, COL_BG, COL_FG);
goto check_color;
case '\n':
insert_reset (entry, i);
parsing_color = 0;
break;
case ATTR_COLOR:
parsing_color = 1;
break;