Skip to content

Commit

Permalink
Merge pull request #487 from eht16/spellcheck_strip_quotes_issue484
Browse files Browse the repository at this point in the history
Strip single quotes from words' beginning and end
  • Loading branch information
eht16 authored Oct 14, 2016
2 parents eb109be + d42aa55 commit 1f5a2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spellcheck/src/speller.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static void dict_describe(const gchar* const lang, const gchar* const name,

static gboolean is_word_sep(gunichar c)
{
return (g_unichar_isspace(c) || g_unichar_ispunct(c)) && c != (gunichar)'\'';
return g_unichar_isspace(c) || g_unichar_ispunct(c);
}


Expand Down

0 comments on commit 1f5a2a2

Please sign in to comment.