Huw Davies : oleaut32: Don't ask for a name if it's not required.
Module: wine Branch: master Commit: 08a9bf7db837b6091f6d255ca661a266985f539b URL: http://source.winehq.org/git/wine.git/?a=commit;h=08a9bf7db837b6091f6d255ca6... Author: Huw Davies <huw(a)codeweavers.com> Date: Tue Apr 28 12:41:01 2009 +0100 oleaut32: Don't ask for a name if it's not required. --- dlls/oleaut32/tmarshal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index 5e863b4..9d24174 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -213,7 +213,7 @@ _marshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN pUnk) { goto fail; } - hres = IStream_Stat(pStm,&ststg,0); + hres = IStream_Stat(pStm,&ststg,STATFLAG_NONAME); if (hres) { ERR("Stream stat failed\n"); goto fail;
participants (1)
-
Alexandre Julliard