[PATCH] ole32: Use wide-char string literals in filemoniker.c.
Huw Davies
huw at codeweavers.com
Fri Nov 27 03:02:06 CST 2020
On Thu, Nov 26, 2020 at 10:20:03PM +0100, Michael Stefaniuc wrote:
> @@ -707,8 +703,8 @@ FileMonikerImpl_ComposeWith(IMoniker* iface, IMoniker* pmkRight,
> for(*newStr=0,j=0;j<=lastIdx1;j++)
> lstrcatW(newStr,strDec1[j]);
>
> - if ((strDec2[i]==NULL && lastIdx1>-1 && lastIdx2>-1) || wcscmp(strDec2[i],bkSlash)!=0)
> - lstrcatW(newStr,bkSlash);
> + if ((!strDec2[i] && lastIdx1 > -1 && lastIdx2>-1) || wcscmp(strDec2[i], L"\\"))
> + lstrcatW(newStr, L"\\");
Missed a couple of spaces around the second greater than sign. I've
sent in a v2.
Huw.
More information about the wine-devel
mailing list