[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: patch + examples, change frameset.rows from js
From:       <koos.vriezen () xs4all ! nl>
Date:       2001-12-24 11:43:13
[Download RAW message or body]

> > > Thanks for the patch, I have applied it.
Preventing future headaches (for really smart nodes), please move
'setDocumentChanged(false);' before the first return statement. This was
the second posting of my patch.
--- xml/dom_docimpl.cpp.orig    Mon Dec 24 12:04:05 2001
+++ xml/dom_docimpl.cpp Sun Dec 23 17:45:31 2001
@@ -875,7 +875,9 @@
 void DocumentImpl::updateRendering()
 {
     int o=changedNodes.count();
-    if (!o) return;
+    setDocumentChanged(false);
+    if (!o)
+       return;
     kdDebug() << "UPDATERENDERING: "<<o<<endl;

     int a=0;
@@ -898,7 +900,6 @@
     kdDebug() << "UPDATERENDERING orig="<<o<<" actual="<<a<<endl;
     changedNodes.clear();
     setChanged(false);
-    setDocumentChanged(false);
 }

Regards,

Koos Vriezen

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic