Skip to content

Commit

Permalink
Add icon source size to warning about "too large icon dimensions" to …
Browse files Browse the repository at this point in the history
…help faster find it
  • Loading branch information
theromis committed Mar 22, 2024
1 parent fe01776 commit ece8685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/linuxbsd/x11/display_server_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5212,7 +5212,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) {
Expand Down

0 comments on commit ece8685

Please sign in to comment.