Merge pull request #89716 from theromis/master

[X11] Add more details to large icon size warning
This commit is contained in:
Rémi Verschelde 2024-03-28 10:47:08 +01:00
commit d28fb26ab0
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -5210,7 +5210,7 @@ void DisplayServerX11::set_icon(const Ref<Image> &p_icon) {
if (g_set_icon_error) {
g_set_icon_error = false;
WARN_PRINT("Icon too large, attempting to resize icon.");
WARN_PRINT(vformat("Icon too large (%dx%d), attempting to downscale icon.", w, h));
int new_width, new_height;
if (w > h) {