Skip to content

Commit

Permalink
Fix split.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Jan 2, 2021
1 parent e0c7700 commit c66af56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@ ctr_object* ctr_string_trim(ctr_object* myself, ctr_argument* argumentList) {
memcpy(tstr, str+begin, tlen);
ctr_heap_free( myself->value.svalue->value );
myself->value.svalue->value = tstr;
myself->value.svalue->vlen = len;
myself->value.svalue->vlen = tlen;
return myself;
}

Expand Down

0 comments on commit c66af56

Please sign in to comment.