[PATCH] [Ole32]: fixed datacache object so that we can retrieve meaningful information

Eric Pouech eric.pouech at orange.fr
Sun Jan 13 10:03:44 CST 2008




A+
---

 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-patches mailing list