aboutsummaryrefslogtreecommitdiff
path: root/core/io/resource_format_xml.cpp
diff options
context:
space:
mode:
authorBoris Egorov2014-11-07 05:26:41 +0000
committerBoris Egorov2014-11-07 05:26:41 +0000
commit1ce14e3321fe9e559d0c05401ec82806d5b493e4 (patch)
tree029461ab45c7a5190928feba3ad2a2b33c01cc05 /core/io/resource_format_xml.cpp
parentfc676fa6f8de6b0b24cf54ecfa3f9221c607095c (diff)
downloadgodot-1ce14e3321fe9e559d0c05401ec82806d5b493e4.tar.gz
godot-1ce14e3321fe9e559d0c05401ec82806d5b493e4.tar.zst
godot-1ce14e3321fe9e559d0c05401ec82806d5b493e4.zip
Diffstat (limited to 'core/io/resource_format_xml.cpp')
-rw-r--r--core/io/resource_format_xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp
index e6eede7de..2a79e6647 100644
--- a/core/io/resource_format_xml.cpp
+++ b/core/io/resource_format_xml.cpp
@@ -571,7 +571,7 @@ Error ResourceInteractiveLoaderXML::parse_property(Variant& r_v, String &r_name)
int w=width.to_int();
int h=height.to_int();
- if (w == 0 && w == 0) {
+ if (w == 0 && h == 0) {
//r_v = Image(w, h, imgformat);
r_v=Image();
String sdfsdfg;