From 528ad9ebbdbd4f29898a285d494009cf87ef3cc6 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Sun, 13 Jan 2008 17:03:44 +0100 Subject: [PATCH] ole32: Fixed datacache object so that we can retrieve meaningful information. --- dlls/ole32/datacache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c index 18cd5c28afb..beb6d932031 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); }