Commit cb62541a authored by Claes Sjofors's avatar Claes Sjofors

Script function 'extract' bugfix

parent d5f6bd1c
......@@ -4631,7 +4631,7 @@ static int ccm_func_extract(
return CCM__VARTYPE;
if ( arg_p1->value_int > (int)strlen( arg_p3->value_string) ||
arg_p1->value_int < 1)
arg_p1->value_int < 1 || arg_p2->value_int < 1)
strcpy( return_string, "");
else
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment