[PATCH v2] vbscript: implement case insensitive comparison functionality in InStr
Jacek Caban
jacek at codeweavers.com
Mon Jul 27 08:24:12 CDT 2020
Hi Dmitry,
On 27.07.2020 04:56, Dmitry Kislyuk wrote:
> + for(; ptr+SysStringLen(str2) <= endptr; ptr++) {
> + if(!memicmp(ptr, str2, len*sizeof(WCHAR))) {
> + ret = ptr-str1+1;
> + break;
> + }
> + }
memicmp does not operate on Unicode characters. I think that msvcrt does
not provide what we need here, but you could use FindStringOrdinal instead.
Thanks,
Jacek
More information about the wine-devel
mailing list