libsexy: Properly reflect reset attributes in input

This commit is contained in:
TingPing 2014-01-11 15:44:54 -05:00
parent aae6633c28
commit b2a780e97a
1 changed files with 3 additions and 0 deletions

View File

@ -918,6 +918,9 @@ check_attributes (SexySpellEntry *entry, const char *text, int len)
case ATTR_RESET: case ATTR_RESET:
insert_hiddenchar (entry, i, i + 1); insert_hiddenchar (entry, i, i + 1);
insert_reset (entry, i); insert_reset (entry, i);
bold = FALSE;
italic = FALSE;
underline = FALSE;
goto check_color; goto check_color;
case ATTR_HIDDEN: case ATTR_HIDDEN: