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
-- 
Uwe Bonnes                [EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

Reply via email to