gtkhtml r9041 - trunk/components/editor
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r9041 - trunk/components/editor
- Date: Tue, 4 Nov 2008 23:03:47 +0000 (UTC)
Author: mbarnes
Date: Tue Nov 4 23:03:47 2008
New Revision: 9041
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=9041&view=rev
Log:
2008-11-04 Matthew Barnes <mbarnes redhat com>
* components/editor/gtkhtml-editor.c (editor_method_check_word):
If no spell checkers are active, assume the word is correct.
Modified:
trunk/components/editor/ChangeLog
trunk/components/editor/gtkhtml-editor.c
Modified: trunk/components/editor/gtkhtml-editor.c
==============================================================================
--- trunk/components/editor/gtkhtml-editor.c (original)
+++ trunk/components/editor/gtkhtml-editor.c Tue Nov 4 23:03:47 2008
@@ -244,6 +244,11 @@
list = editor->priv->active_spell_checkers;
+ /* If no spell checkers are active, assume the word is correct. */
+ if (list == NULL)
+ return TRUE;
+
+ /* The word is correct if ANY active spell checker can verify it. */
while (list != NULL && !correct) {
GtkhtmlSpellChecker *checker = list->data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]