Branch: Tag:

2016-06-07

2016-06-07 12:38:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Strings: Fixed offset error for ranges of substringed wide strings.

Fixes [LysLysKOM 21761300]/[Pike mailinglist 14546].

1999:    /* Note: If substrings are ever anywhere except at the end,    this might need to change.    */ -  start += s->str-pr->str; +  start += (s->str-pr->str)>>s->size_shift;    s = pr;    }