mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
Minor change for debugging
This commit is contained in:
parent
46df2f2cd7
commit
fffcdad912
@ -377,6 +377,7 @@ HRESULT nsDataObj::GetText(nsIDataFlavor * aDF, FORMATETC& aFE, STGMEDIUM& aSTG)
|
||||
hGlobalMemory = (HGLOBAL)::GlobalAlloc(GHND, (DWORD)len);
|
||||
if (hGlobalMemory != NULL) {
|
||||
pGlobalMemory = (PSTR)::GlobalLock(hGlobalMemory);
|
||||
PSTR pstr = pGlobalMemory;
|
||||
|
||||
// need to use memcpy here
|
||||
char* s = data;
|
||||
@ -386,7 +387,7 @@ HRESULT nsDataObj::GetText(nsIDataFlavor * aDF, FORMATETC& aFE, STGMEDIUM& aSTG)
|
||||
}
|
||||
|
||||
// Put data on Clipboard
|
||||
GlobalUnlock(hGlobalMemory);
|
||||
::GlobalUnlock(hGlobalMemory);
|
||||
}
|
||||
|
||||
aSTG.hGlobal = hGlobalMemory;
|
||||
|
Loading…
Reference in New Issue
Block a user