diff options
| author | Juan Linietsky | 2014-12-01 21:45:26 -0200 |
|---|---|---|
| committer | Juan Linietsky | 2014-12-01 21:45:26 -0200 |
| commit | 9d5a2cb8470d538fa33f9f7b4d6cdd5390b3b70b (patch) | |
| tree | 40e4502bd4b0b6ab476b710fb01cb5a98d266911 /core/globals.cpp | |
| parent | 5eb546e04b54fc583e4078dc89d8b54157f54b5d (diff) | |
| parent | 1ce14e3321fe9e559d0c05401ec82806d5b493e4 (diff) | |
| download | godot-9d5a2cb8470d538fa33f9f7b4d6cdd5390b3b70b.tar.gz godot-9d5a2cb8470d538fa33f9f7b4d6cdd5390b3b70b.tar.zst godot-9d5a2cb8470d538fa33f9f7b4d6cdd5390b3b70b.zip | |
Diffstat (limited to 'core/globals.cpp')
| -rw-r--r-- | core/globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/globals.cpp b/core/globals.cpp index 94fa331be..a39ace736 100644 --- a/core/globals.cpp +++ b/core/globals.cpp @@ -674,7 +674,7 @@ static Variant _decode_variant(const String& p_string) { int w=params[2].to_int(); int h=params[3].to_int(); - if (w == 0 && w == 0) { + if (w == 0 && h == 0) { //r_v = Image(w, h, imgformat); return Image(); }; |
