From 6b6ad4d684acdd33890eb9f81400284e60a949f6 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 16 Apr 2021 16:10:22 +0300 Subject: [PATCH] Argh, fix thinko in commit 42f53a13c4300c046f4f16d91712bb28763da4c3 --- lib/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/query.c b/lib/query.c index 8045d43785..d09aa2aaf3 100644 --- a/lib/query.c +++ b/lib/query.c @@ -251,7 +251,7 @@ void rpmDisplayQueryTags(FILE * fp) rpmTagVal tag = rpmTagGetValue(sname); rpmTagType type = rpmTagGetTagType(tag); fprintf(fp, "%-20s %6d", sname, tag); - if (type > RPM_MIN_TYPE && type <= RPM_MAX_TYPE) + if (type >= RPM_MIN_TYPE && type <= RPM_MAX_TYPE) fprintf(fp, " %s", tagTypeNames[type]); } else { fprintf(fp, "%s", sname);