From: <rl...@us...> - 2006-10-12 01:08:34
|
Revision: 17464 http://svn.sourceforge.net/gaim/?rev=17464&view=rev Author: rlaager Date: 2006-10-11 18:08:28 -0700 (Wed, 11 Oct 2006) Log Message: ----------- SF Bug #1573887 suggests that we stop special casing ' as an inside-the-word character. I can't come up with a good reason to reject the request, so here it is. Modified Paths: -------------- trunk/gtk/plugins/spellchk.c Modified: trunk/gtk/plugins/spellchk.c =================================================================== --- trunk/gtk/plugins/spellchk.c 2006-10-12 01:03:18 UTC (rev 17463) +++ trunk/gtk/plugins/spellchk.c 2006-10-12 01:08:28 UTC (rev 17464) @@ -298,7 +298,6 @@ g_free(spell); } -/* Pango doesn't know about the "'" character. Let's fix that. */ static gboolean spellchk_inside_word(GtkTextIter *iter) { @@ -329,16 +328,6 @@ if (gtk_text_iter_inside_word (iter) == TRUE) return TRUE; - if (c == '\'') { - result = gtk_text_iter_backward_char(iter); - output = gtk_text_iter_inside_word(iter); - - if (result) - gtk_text_iter_forward_char(iter); - - return output; - } - return FALSE; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |