- Fix ole32:clipboard winetest regression

svn path=/trunk/; revision=53657
This commit is contained in:
Rafal Harabien 2011-09-09 15:24:14 +00:00
parent 65bfc47fd6
commit da83700379

View file

@ -206,6 +206,9 @@ GetClipboardData(UINT uFormat)
GETCLIPBDATA gcd; GETCLIPBDATA gcd;
hData = NtUserGetClipboardData(uFormat, &gcd); hData = NtUserGetClipboardData(uFormat, &gcd);
if (!hData)
return NULL;
if (gcd.fGlobalHandle) if (gcd.fGlobalHandle)
{ {
HANDLE hGlobal; HANDLE hGlobal;
@ -242,7 +245,7 @@ GetClipboardData(UINT uFormat)
pNewData = IntSynthesizeWideChar(pData, cbData, gcd.uFmtRet == CF_OEMTEXT); pNewData = IntSynthesizeWideChar(pData, cbData, gcd.uFmtRet == CF_OEMTEXT);
break; break;
default: default:
FIXME("Format: %u\n", uFormat); FIXME("Format: %u != %u\n", uFormat, gcd.uFmtRet);
} }
/* Is it a global handle? */ /* Is it a global handle? */