Jacek Caban : mshtml: Added semi stub IsDirty implementation.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 11 08:46:40 CDT 2007


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Jun 11 00:21:14 2007 +0200

mshtml: Added semi stub IsDirty implementation.

---

 dlls/mshtml/persist.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c
index cb1025b..13c07d4 100644
--- a/dlls/mshtml/persist.c
+++ b/dlls/mshtml/persist.c
@@ -565,8 +565,13 @@ static HRESULT WINAPI PersistStreamInit_GetClassID(IPersistStreamInit *iface, CL
 static HRESULT WINAPI PersistStreamInit_IsDirty(IPersistStreamInit *iface)
 {
     HTMLDocument *This = PERSTRINIT_THIS(iface);
-    FIXME("(%p)\n", This);
-    return E_NOTIMPL;
+
+    TRACE("(%p)\n", This);
+
+    if(This->usermode == EDITMODE)
+        FIXME("Unimplemented in edit mode\n");
+
+    return S_FALSE;
 }
 
 static HRESULT WINAPI PersistStreamInit_Load(IPersistStreamInit *iface, LPSTREAM pStm)




More information about the wine-cvs mailing list