Hallo,
wine/tools/wrc/y.tab.c countains:
WCHAR *wptr;
/* Remove escaped backslash and convert to forward */ for(wptr = str->str.wstr; (wptr = strchrW(wptr, '\')) != NULL; wptr++)
if(wptr[1] == '\') { memmove(wptr, wptr+1, strlenW(wptr)); str->size--; }
I am quite sure that strlenW returns the number of characters in the string and so it needs to be multiplied by sizeof(WCHAR).
Can anybody confirm?
Bye