mirror of
https://github.com/reactos/wine.git
synced 2025-02-21 13:23:25 +00:00
oleaut32: Fix FormatString (valgrind).
This commit is contained in:
parent
a360c98187
commit
f73c8c4d42
@ -1963,7 +1963,7 @@ static HRESULT VARIANT_FormatString(LPVARIANT pVarIn, LPOLESTR lpszFormat,
|
||||
if (FAILED(hRes))
|
||||
return hRes;
|
||||
|
||||
if (V_BSTR(pVarIn)[0] == '\0')
|
||||
if (V_BSTR(&vStr)[0] == '\0')
|
||||
strHeader = (FMT_STRING_HEADER*)(rgbTok + FmtGetNegative(header));
|
||||
else
|
||||
strHeader = (FMT_STRING_HEADER*)(rgbTok + FmtGetPositive(header));
|
||||
|
Loading…
x
Reference in New Issue
Block a user