From 78a1b75ac35d045d8cfd7bc71dce0322ac8f8ff2 Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 3 Mar 2016 12:01:43 +0300 Subject: use G_UNICODE_SPACING_MARK instead of G_UNICODE_COMBINING_MARK adapted from https://git.gnome.org/browse/gnome-dictionary/commit/?id=34b805a5976816925006e65f47117a348a962322 --- mate-dictionary/libgdict/gdict-defbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c index 6a1ea33e..14972698 100644 --- a/mate-dictionary/libgdict/gdict-defbox.c +++ b/mate-dictionary/libgdict/gdict-defbox.c @@ -397,7 +397,7 @@ exact_prefix_cmp (const gchar *string, /* If string contains prefix, check that prefix is not followed * by a unicode mark symbol, e.g. that trailing 'a' in prefix * is not part of two-char a-with-hat symbol in string. */ - return type != G_UNICODE_COMBINING_MARK && + return type != G_UNICODE_SPACING_MARK && type != G_UNICODE_ENCLOSING_MARK && type != G_UNICODE_NON_SPACING_MARK; } -- cgit v1.2.1