summaryrefslogtreecommitdiff
path: root/lib/depends.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-06-11 17:16:03 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-06-11 17:16:03 +0300
commit31f0d94df1c50a7a2802c76f491620be22b9a8fa (patch)
treec2fc50ef1036ab97decef831c27c888136b992ab /lib/depends.c
parent85f9df3c0d511cb1e84484c8d616b98e5e4a2123 (diff)
downloadlibrpm-tizen-31f0d94df1c50a7a2802c76f491620be22b9a8fa.tar.gz
librpm-tizen-31f0d94df1c50a7a2802c76f491620be22b9a8fa.tar.bz2
librpm-tizen-31f0d94df1c50a7a2802c76f491620be22b9a8fa.zip
Add preferred color to rpmal
Diffstat (limited to 'lib/depends.c')
-rw-r--r--lib/depends.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/depends.c b/lib/depends.c
index c96702856..945d9ac8d 100644
--- a/lib/depends.c
+++ b/lib/depends.c
@@ -130,7 +130,7 @@ int rpmtsAddInstallElement(rpmts ts, Header h,
}
if (ts->addedPackages == NULL) {
- ts->addedPackages = rpmalCreate(5, tscolor);
+ ts->addedPackages = rpmalCreate(5, tscolor, rpmtsPrefColor(ts));
}
/* XXX Always add source headers. */