diff options
author | TingPing <tingping@tingping.se> | 2014-01-11 15:44:54 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-01-11 15:44:54 -0500 |
commit | b2a780e97aa9edec3d30d13ea17fe39bd8e81553 (patch) | |
tree | e97648073aaee7877f360a08a4e958aba0d52d54 | |
parent | aae6633c28ddcdad834f5ad0fe4f890e96c2afa0 (diff) |
libsexy: Properly reflect reset attributes in input
-rw-r--r-- | src/fe-gtk/sexy-spell-entry.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c index 92e4abe1..29eb1ff0 100644 --- a/src/fe-gtk/sexy-spell-entry.c +++ b/src/fe-gtk/sexy-spell-entry.c @@ -918,6 +918,9 @@ check_attributes (SexySpellEntry *entry, const char *text, int len) case ATTR_RESET: insert_hiddenchar (entry, i, i + 1); insert_reset (entry, i); + bold = FALSE; + italic = FALSE; + underline = FALSE; goto check_color; case ATTR_HIDDEN: |