summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-01-11 15:44:54 -0500
committerTingPing <tingping@tingping.se>2014-01-11 15:44:54 -0500
commitb2a780e97aa9edec3d30d13ea17fe39bd8e81553 (patch)
treee97648073aaee7877f360a08a4e958aba0d52d54 /src/fe-gtk
parentaae6633c28ddcdad834f5ad0fe4f890e96c2afa0 (diff)
libsexy: Properly reflect reset attributes in input
Diffstat (limited to 'src/fe-gtk')
-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: