diff options
| author | Boris Egorov | 2014-11-07 05:26:41 +0000 |
|---|---|---|
| committer | Boris Egorov | 2014-11-07 05:26:41 +0000 |
| commit | 1ce14e3321fe9e559d0c05401ec82806d5b493e4 (patch) | |
| tree | 029461ab45c7a5190928feba3ad2a2b33c01cc05 /core/globals.cpp | |
| parent | fc676fa6f8de6b0b24cf54ecfa3f9221c607095c (diff) | |
| download | godot-1ce14e3321fe9e559d0c05401ec82806d5b493e4.tar.gz godot-1ce14e3321fe9e559d0c05401ec82806d5b493e4.tar.zst godot-1ce14e3321fe9e559d0c05401ec82806d5b493e4.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(); }; |
