[pacman-dev] [PATCH 2/4] signature_display should also be colourized

Simon Gomizelj simongmzlj at gmail.com
Mon Mar 25 14:43:39 EDT 2013


Signed-off-by: Simon Gomizelj <simongmzlj at gmail.com>
---
 src/pacman/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pacman/util.c b/src/pacman/util.c
index a1ec9c7..994b79e 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -689,7 +689,7 @@ void signature_display(const char *title, alpm_siglist_t *siglist,
 
 	if(title) {
 		len = (unsigned short)string_length(title) + 1;
-		printf("%s ", title);
+		printf("%s%s%s ", config->colstr.title, title, config->colstr.nocolor);
 	}
 	if(siglist->count == 0) {
 		printf(_("None"));
-- 
1.8.2



More information about the pacman-dev mailing list