Fix: use the file's color to decide whether to add it to the rpmal not the color...
authorFlorian Festi <ffesti@redhat.com>
Thu, 26 Mar 2009 12:53:26 +0000 (13:53 +0100)
committerFlorian Festi <ffesti@redhat.com>
Thu, 26 Mar 2009 12:53:26 +0000 (13:53 +0100)
lib/rpmal.c

index 54f98a8..7abf60a 100644 (file)
@@ -180,7 +180,7 @@ static void rpmalAddFiles(rpmal al, rpmalNum pkgNum, rpmfi fi){
     fi = rpmfiInit(fi, 0);
     while ((i = rpmfiNext(fi)) >= 0) {
        /* Ignore colored provides not in our rainbow. */
-        ficolor = rpmfiColor(fi);
+        ficolor = rpmfiFColor(fi);
         if (al->tscolor && ficolor && !(al->tscolor & ficolor))
             continue;