summaryrefslogtreecommitdiff
path: root/mate-dictionary
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-03-03 12:01:43 +0300
committermonsta <[email protected]>2016-03-03 12:01:43 +0300
commit78a1b75ac35d045d8cfd7bc71dce0322ac8f8ff2 (patch)
treec8145bc178c58c23bd1f4b82626bcfa0affbe06a /mate-dictionary
parentd746e6200476b98b07f23d80268a992508e32477 (diff)
downloadmate-utils-78a1b75ac35d045d8cfd7bc71dce0322ac8f8ff2.tar.bz2
mate-utils-78a1b75ac35d045d8cfd7bc71dce0322ac8f8ff2.tar.xz
use G_UNICODE_SPACING_MARK instead of G_UNICODE_COMBINING_MARK
adapted from https://git.gnome.org/browse/gnome-dictionary/commit/?id=34b805a5976816925006e65f47117a348a962322
Diffstat (limited to 'mate-dictionary')
-rw-r--r--mate-dictionary/libgdict/gdict-defbox.c2
1 files changed, 1 insertions, 1 deletions
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;
}