diff options
author | Florian Festi <ffesti@redhat.com> | 2009-03-26 13:53:26 +0100 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2009-03-26 13:53:26 +0100 |
commit | 144830cf816c9189906b0ae826418dc079ec4348 (patch) | |
tree | a463d334872df9db83e22aad364fe513d12bd731 /lib/rpmal.c | |
parent | 1ce328aa29a7f32dde2e831856bf46efb9e50df1 (diff) | |
download | rpm-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.c | 2 |
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; |