diff options
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1490,6 +1490,10 @@ const wchar_t *c_str(val obj) val search_str(val haystack, val needle, val start_num, val from_end) { + uses_or2; + + start_num = or2(start_num, zero); + if (length_str_lt(haystack, start_num)) { return nil; } else { |