mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 528731 - follow up patch, return S_OK/E_UNEXPECTED from GetData, not PR_TRUE/FALSE. r=jmathies.
This commit is contained in:
parent
9f031048e3
commit
7f0d35a5f5
@ -492,7 +492,8 @@ STDMETHODIMP nsDataObj::GetData(LPFORMATETC aFormat, LPSTGMEDIUM pSTM)
|
||||
// drag operations.
|
||||
LPDATAENTRY pde;
|
||||
if (LookupArbitraryFormat(aFormat, &pde, FALSE)) {
|
||||
return CopyMediumData(pSTM, &pde->stgm, aFormat, FALSE);
|
||||
return CopyMediumData(pSTM, &pde->stgm, aFormat, FALSE)
|
||||
? S_OK : E_UNEXPECTED;
|
||||
}
|
||||
|
||||
// Firefox internal formats
|
||||
|
Loading…
Reference in New Issue
Block a user