projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03c035e
)
Use the element color instead of header color
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 19 Mar 2010 07:04:12 +0000
(09:04 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 19 Mar 2010 07:04:12 +0000
(09:04 +0200)
- this is just the same thing, element color has been already calculated
so no need to go through header extensions again
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
d74e6db
..
f8965de
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-270,7
+270,7
@@
addheader:
}
/* On upgrade, erase older packages of same color (if any). */
- hcolor =
headerGetNumber(h, RPMTAG_HEADERCOLOR
);
+ hcolor =
rpmteColor(p
);
mi = rpmtsInitIterator(ts, RPMTAG_NAME, rpmteN(p), 0);
while((oh = rpmdbNextIterator(mi)) != NULL) {