summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuve <veg@svgames.pl>2022-12-29 23:31:02 +0100
committerRichard Hughes <richard@hughsie.com>2022-12-30 11:08:58 +0000
commitb5d8a227e584fbb5627a81b4b1607234aabcf2dd (patch)
tree01f3310fb70953ba34d3dddcf5b104128cde5737
parentb6812b8494e7fa69514be33fba46227b159cda3c (diff)
downloadappstream-glib-b5d8a227e584fbb5627a81b4b1607234aabcf2dd.tar.gz
Include screenshot height in "too small" error
-rw-r--r--libappstream-glib/as-app-validate.c4
1 files 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,
- "<screenshot> height too small [%s] minimum is %upx",
- url, ss_size_height_min);
+ "<screenshot> 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,