From 3317f7640ed8a871f932b8a62997bafcca2d4f5b Mon Sep 17 00:00:00 2001 From: D00T24 Date: Mon, 3 Feb 2020 20:40:10 +0400 Subject: [PATCH] fixed godot not recognising 150x150 icon for uwp export (cherry picked from commit 88bd3227aced00d775c11aa888564064b0c41bb0) --- platform/uwp/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp index 57fb9004b8b..37fc6fb456e 100644 --- a/platform/uwp/export/export.cpp +++ b/platform/uwp/export/export.cpp @@ -1176,7 +1176,7 @@ public: err += TTR("Invalid square 71x71 logo image dimensions (should be 71x71).") + "\n"; } - if (!p_preset->get("images/square150x150_logo").is_zero() && !_valid_image((Object::cast_to((Object *)p_preset->get("images/square150x150_logo"))), 150, 0)) { + if (!p_preset->get("images/square150x150_logo").is_zero() && !_valid_image((Object::cast_to((Object *)p_preset->get("images/square150x150_logo"))), 150, 150)) { valid = false; err += TTR("Invalid square 150x150 logo image dimensions (should be 150x150).") + "\n"; }