Commit 6b19d7d0 authored by Paolo Borelli's avatar Paolo Borelli Committed by Paolo Borelli

remove bogus assertion.

2006-01-02  Paolo Borelli  <pborelli@katamail.com>

	* plugins/spell/gedit-spell-plugin.c: remove bogus assertion.
parent db4d61ca
2006-01-02 Paolo Borelli <pborelli@katamail.com>
* plugins/spell/gedit-spell-plugin.c: remove bogus assertion.
2006-01-02 Paolo Maggi <paolo@gnome.org>
New Modelines plugin by Steve Frécinaux <nud@apinc.org>
......
......@@ -476,8 +476,9 @@ get_next_misspelled_word (GeditView *view)
if (!goto_next_word (doc))
return NULL;
/* may return null if we reached the end of the selection */
word = get_current_word (doc, &start, &end);
g_return_val_if_fail (word != NULL, NULL);
return NULL;
gedit_debug_message (DEBUG_PLUGINS, "Word to check: %s", word);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment