From b5d8a227e584fbb5627a81b4b1607234aabcf2dd Mon Sep 17 00:00:00 2001 From: suve Date: Thu, 29 Dec 2022 23:31:02 +0100 Subject: Include screenshot height in "too small" error --- libappstream-glib/as-app-validate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c index 73382de..6a69c23 100644 --- a/libappstream-glib/as-app-validate.c +++ b/libappstream-glib/as-app-validate.c @@ -555,8 +555,8 @@ ai_app_validate_image_check (AsImage *im, AsAppValidateHelper *helper) if (screenshot_height < ss_size_height_min) { ai_app_validate_add (helper, AS_PROBLEM_KIND_ATTRIBUTE_INVALID, - " height too small [%s] minimum is %upx", - url, ss_size_height_min); + " height (%u) too small [%s] minimum is %upx", + screenshot_height, url, ss_size_height_min); } if (screenshot_width > ss_size_width_max) { ai_app_validate_add (helper, -- cgit v1.2.1