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

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdelibs/khtml/html
From:       Dirk Mueller <mueller () kde ! org>
Date:       2003-07-13 22:11:24
[Download RAW message or body]

CVS commit by mueller: 

fix logic


  M +1 -1      htmlparser.cpp   1.312.2.5


--- kdelibs/khtml/html/htmlparser.cpp  #1.312.2.4:1.312.2.5
@@ -361,5 +361,5 @@ bool KHTMLParser::insertNode(NodeImpl *n
         case ID_HEAD:
             // ### alllow not having <HTML> in at all, as per HTML spec
-            if (!current->isDocumentNode() && !current->id() == ID_HTML )
+            if (!current->isDocumentNode() && current->id() != ID_HTML )
                 return false;
             break;


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

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