Skip to content

Commit ece8685

Browse files
committed
Add icon source size to warning about "too large icon dimensions" to help faster find it
1 parent fe01776 commit ece8685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/linuxbsd/x11/display_server_x11.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5212,7 +5212,7 @@ void DisplayServerX11::set_icon(const Ref<Image> &p_icon) {
52125212
if (g_set_icon_error) {
52135213
g_set_icon_error = false;
52145214

5215-
WARN_PRINT("Icon too large, attempting to resize icon.");
5215+
WARN_PRINT(vformat("Icon too large (%dx%d), attempting to downscale icon.", w, h));
52165216

52175217
int new_width, new_height;
52185218
if (w > h) {

0 commit comments

Comments
 (0)