summaryrefslogtreecommitdiff
path: root/lib/depends.c
diff options
context:
space:
mode:
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. */