Skip to content

Commit

Permalink
Include screenshot height in "too small" error
Browse files Browse the repository at this point in the history
  • Loading branch information
suve authored and hughsie committed Dec 30, 2022
1 parent b6812b8 commit b5d8a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libappstream-glib/as-app-validate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b5d8a22

Please sign in to comment.