summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/fe-gtk/sexy-spell-entry.c3
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: