mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-06 23:18:40 -04:00
icon-validator: Add the max size to the error
This helps to explain why an icon was rejected. Closes: #2813 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
d85b3cb0e9
commit
11aface66e
@@ -73,7 +73,7 @@ validate_icon (const char *arg_width,
|
||||
|
||||
if (width > max_width || height > max_height)
|
||||
{
|
||||
g_printerr ("Image too large (%dx%d)\n", width, height);
|
||||
g_printerr ("Image too large (%dx%d). Max. size %dx%d\n", width, height, max_width, max_height);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user