diff options
Diffstat (limited to 'pango/pango-script.c')
-rw-r--r-- | pango/pango-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-script.c b/pango/pango-script.c index d10b3a91..3f8dadb7 100644 --- a/pango/pango-script.c +++ b/pango/pango-script.c @@ -257,7 +257,7 @@ get_pair_index (gunichar ch) } #define REAL_SCRIPT(script) \ - ((script) > PANGO_SCRIPT_INHERITED) + ((script) > PANGO_SCRIPT_INHERITED && (script) != PANGO_SCRIPT_UNKNOWN) #define SAME_SCRIPT(script1, script2) \ (!REAL_SCRIPT (script1) || !REAL_SCRIPT (script2) || (script1) == (script2)) |