diff options
| author | Franklin Sobrinho | 2015-11-06 18:52:15 -0300 |
|---|---|---|
| committer | Franklin Sobrinho | 2015-11-06 18:52:15 -0300 |
| commit | d5fbd1d262fe8d38d550e23169af748e84667881 (patch) | |
| tree | 62e931a2077db94418cc9dc5287690a09193e1ae /core/variant_op.cpp | |
| parent | dde6396f221672d34d178c75f4080c1e87612aea (diff) | |
| download | godot-d5fbd1d262fe8d38d550e23169af748e84667881.tar.gz godot-d5fbd1d262fe8d38d550e23169af748e84667881.tar.zst godot-d5fbd1d262fe8d38d550e23169af748e84667881.zip | |
Diffstat (limited to 'core/variant_op.cpp')
| -rw-r--r-- | core/variant_op.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_op.cpp b/core/variant_op.cpp index 1cdf6d731..763b8c11b 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -2573,7 +2573,7 @@ bool Variant::in(const Variant& p_index, bool *r_valid) const { String idx=p_index; const String *str=reinterpret_cast<const String*>(_data._mem); - return str->find("idx")!=-1; + return str->find(idx)!=-1; } } break; |
