Mike McCormack : ole32: Fix a typo.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 19 14:28:46 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: ccfa76d18ec9030f1d41311edf386368fd7f8cb1
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ccfa76d18ec9030f1d41311edf386368fd7f8cb1

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Jun 20 02:19:31 2006 +0900

ole32: Fix a typo.

---

 dlls/ole32/ole2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 9e318e7..1e890f9 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -2699,7 +2699,7 @@ HRESULT WINAPI PropVariantCopy(PROPVARIA
         if (pvarSrc->u.pclipdata)
         {
             len = pvarSrc->u.pclipdata->cbSize - sizeof(pvarSrc->u.pclipdata->ulClipFmt);
-            CoTaskMemAlloc(len);
+            pvarDest->u.pclipdata->pClipData = CoTaskMemAlloc(len);
             CopyMemory(pvarDest->u.pclipdata->pClipData, pvarSrc->u.pclipdata->pClipData, len);
         }
         break;




More information about the wine-cvs mailing list