François Dorin : ole32: Fix return value for DefaultHandler_SetExtent.

Alexandre Julliard julliard at winehq.org
Mon Jul 28 08:07:24 CDT 2008


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

Author: François Dorin <f.dorin at free.fr>
Date:   Sat Jul 26 15:09:33 2008 +0200

ole32: Fix return value for DefaultHandler_SetExtent.

---

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

diff --git a/dlls/ole32/defaulthandler.c b/dlls/ole32/defaulthandler.c
index dda2d4b..afacc51 100644
--- a/dlls/ole32/defaulthandler.c
+++ b/dlls/ole32/defaulthandler.c
@@ -715,7 +715,7 @@ static HRESULT WINAPI DefaultHandler_SetExtent(
         dwDrawAspect, psizel->cx, psizel->cy);
 
   if (object_is_running(This))
-    IOleObject_SetExtent(This->pOleDelegate, dwDrawAspect, psizel);
+    return IOleObject_SetExtent(This->pOleDelegate, dwDrawAspect, psizel);
 
   return OLE_E_NOTRUNNING;
 }




More information about the wine-cvs mailing list