Fix some other code

This commit is contained in:
Mike Nolan 2023-05-11 06:36:58 -05:00
parent b229826e14
commit c5bc5bc9ce
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ tobject_t* __node_method_call_execute(node_t* n,scope_t* s,retarg_t* retArg)
o->type = tchar;
o->data.chr= parent_obj->data.boolean ? 'y' : 'n';
}
if(strcmp(name,'toNumber') == 0)
if(strcmp(name,"toNumber") == 0)
{
o = tobject_create(s->rt);
o->type = tnumber;