[gtkhtml] Bug #584243 - Crash when replacing a mispelled word
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtkhtml] Bug #584243 - Crash when replacing a mispelled word
- Date: Thu, 16 Jul 2009 13:21:19 +0000 (UTC)
commit 48e8e691360a590956aef8e07b26de1004d60f2e
Author: Milan Crha <mcrha redhat com>
Date: Thu Jul 16 15:20:41 2009 +0200
Bug #584243 - Crash when replacing a mispelled word
gtkhtml/htmlengine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkhtml/htmlengine.c b/gtkhtml/htmlengine.c
index 8e2323a..9f34b7e 100644
--- a/gtkhtml/htmlengine.c
+++ b/gtkhtml/htmlengine.c
@@ -6212,7 +6212,7 @@ html_engine_replace_spell_word_with (HTMLEngine *e, const gchar *word)
default:
g_assert_not_reached ();
}
- html_text_set_font_face (HTML_TEXT (replace), HTML_TEXT (orig)->face);
+ html_text_set_font_face (HTML_TEXT (replace_text), HTML_TEXT (orig)->face);
html_engine_edit_selection_updater_update_now (e->selection_updater);
html_engine_paste_object (e, replace_text, html_object_get_length (replace_text));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]