[geany/geany-plugins] d42aa5: Strip single quotes from words' beginning and end

Enrico Tröger git-noreply at geany.org
Tue Oct 11 20:24:43 UTC 2016

Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Tue, 11 Oct 2016 20:24:43 UTC
Commit:      d42aa557862b7e76f0f1135dd00e5ddd0d457fd9

Log Message:
Strip single quotes from words' beginning and end

Skipping quotes on word stripping should not be necessary any longer
since we add the single quote character to the wordchars list

Fixes #484.

Modified Paths:

Modified: spellcheck/src/speller.c
2 lines changed, 1 insertions(+), 1 deletions(-)
@@ -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);

This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).

More information about the Plugins-Commits mailing list