mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
ole32: Fixed some wrong conditions in OleFlushClipboard.
This commit is contained in:
parent
5c0f35a2aa
commit
a79fa50280
@ -914,7 +914,8 @@ static HRESULT OLEClipbrd_RenderFormat(IDataObject *pIDataObject, LPFORMATETC pF
|
||||
ILockBytes *ptrILockBytes = 0;
|
||||
HGLOBAL hStorage = 0;
|
||||
|
||||
GetClipboardFormatNameA(pFormatetc->cfFormat, szFmtName, MAX_CLIPFORMAT_NAME);
|
||||
if (!GetClipboardFormatNameA(pFormatetc->cfFormat, szFmtName, MAX_CLIPFORMAT_NAME))
|
||||
szFmtName[0] = '\0';
|
||||
|
||||
/* If embed source */
|
||||
if (!strcmp(szFmtName, CF_EMBEDSOURCE))
|
||||
|
Loading…
Reference in New Issue
Block a user