Eric Pouech : ole32: Fixed datacache object so that we can retrieve meaningful information.

Alexandre Julliard julliard at winehq.org
Mon Jan 14 09:33:16 CST 2008


Module: wine
Branch: master
Commit: 528ad9ebbdbd4f29898a285d494009cf87ef3cc6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=528ad9ebbdbd4f29898a285d494009cf87ef3cc6

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Sun Jan 13 17:03:44 2008 +0100

ole32: Fixed datacache object so that we can retrieve meaningful information.

---

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

diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c
index 18cd5c2..beb6d93 100644
--- a/dlls/ole32/datacache.c
+++ b/dlls/ole32/datacache.c
@@ -831,7 +831,7 @@ static HRESULT DataCacheEntry_GetData(DataCacheEntry *This,
         if (FAILED(hr))
             return hr;
     }
-    if (stgmedium->tymed == TYMED_NULL)
+    if (This->stgmedium.tymed == TYMED_NULL)
         return OLE_E_BLANK;
     return copy_stg_medium(This->data_cf, stgmedium, &This->stgmedium);
 }




More information about the wine-cvs mailing list