summaryrefslogtreecommitdiff
path: root/lib/rpmal.c
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2009-03-26 13:53:26 +0100
committerFlorian Festi <ffesti@redhat.com>2009-03-26 13:53:26 +0100
commit144830cf816c9189906b0ae826418dc079ec4348 (patch)
treea463d334872df9db83e22aad364fe513d12bd731 /lib/rpmal.c
parent1ce328aa29a7f32dde2e831856bf46efb9e50df1 (diff)
downloadrpm-144830cf816c9189906b0ae826418dc079ec4348.tar.gz
Fix: use the file's color to decide whether to add it to the rpmal not the color of the rpmfi
Diffstat (limited to 'lib/rpmal.c')
-rw-r--r--lib/rpmal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmal.c b/lib/rpmal.c
index 54f98a809..7abf60a36 100644
--- a/lib/rpmal.c
+++ b/lib/rpmal.c
@@ -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;