]> git.wh0rd.org Git - fontconfig.git/commitdiff
Always set *changed in FcCharsetMerge
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 5 Jun 2009 21:15:53 +0000 (17:15 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Jun 2009 17:52:12 +0000 (13:52 -0400)
src/fccharset.c

index fba1f4ab4a3b6bc573046b798c9855596f9d6ff7..cba21c771f05a86a0a5f29c36759da972ca3583f 100644 (file)
@@ -470,8 +470,11 @@ FcCharSetMerge (FcCharSet *a, const FcCharSet *b, FcBool *changed)
     int                ai = 0, bi = 0;
     FcChar16   an, bn;
 
-    if (a->ref == FC_REF_CONSTANT)
+    if (a->ref == FC_REF_CONSTANT) {
+       if (changed)
+           *changed = FcFalse;
        return FcFalse;
+    }
 
     if (changed) {
        *changed = !FcCharSetIsSubset(b, a);