[patch]: fccfg.c FcOpNotContains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BTW, here's something I found that appears to be obviously wrong.

pat

Index: src/fccfg.c
===================================================================
RCS file: /cvs/fontconfig/fontconfig/src/fccfg.c,v
retrieving revision 1.48
diff -u -r1.48 fccfg.c
--- src/fccfg.c 9 Mar 2005 00:47:11 -0000       1.48
+++ src/fccfg.c 11 Jun 2005 03:12:39 -0000
@@ -629,9 +629,11 @@
                ret = FcStrStrIgnoreCase (left.u.s, right.u.s) != 0;
                break;
            case FcOpNotEqual:
-           case FcOpNotContains:
                ret = FcStrCmpIgnoreCase (left.u.s, right.u.s) != 0;
                break;
+           case FcOpNotContains:
+               ret = FcStrStrIgnoreCase (left.u.s, right.u.s) == 0;
+               break;
            default:
                break;
            }

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux