27 Nov
2020
27 Nov
'20
3:02 a.m.
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.