diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/core_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core_bind.cpp b/core/core_bind.cpp index 6f6c4056a9..05fc309a28 100644 --- a/core/core_bind.cpp +++ b/core/core_bind.cpp @@ -1787,7 +1787,7 @@ void _Thread::_start_func(void *ud) { target_param_count = method->get_argument_count(); target_default_arg_count = method->get_default_argument_count(); } - if (target_param_count >= 1 && target_default_arg_count == target_param_count) { + if (target_param_count >= 1 && target_default_arg_count < target_param_count) { argc = 1; } } |