Gitweb links:

...log 
http://git.netsurf-browser.org/libdom.git/shortlog/51ab1cdf25e80490023577c82cc35b68335eff5e
...commit 
http://git.netsurf-browser.org/libdom.git/commit/51ab1cdf25e80490023577c82cc35b68335eff5e
...tree 
http://git.netsurf-browser.org/libdom.git/tree/51ab1cdf25e80490023577c82cc35b68335eff5e

The branch, master has been updated
       via  51ab1cdf25e80490023577c82cc35b68335eff5e (commit)
      from  25f17fdecaa895478a9b2e3e59b044ac5a0e3c4d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libdom.git/commit/?id=51ab1cdf25e80490023577c82cc35b68335eff5e
commit 51ab1cdf25e80490023577c82cc35b68335eff5e
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Change dom node type count to last value plus one.

diff --git a/include/dom/core/node.h b/include/dom/core/node.h
index 35be6f0..ba273af 100644
--- a/include/dom/core/node.h
+++ b/include/dom/core/node.h
@@ -68,7 +68,7 @@ typedef enum {
        DOM_NOTATION_NODE               = 12,
 
        /* And a count of the number of node types */
-       DOM_NODE_TYPE_COUNT             = DOM_NOTATION_NODE
+       DOM_NODE_TYPE_COUNT
 } dom_node_type;
 
 typedef struct dom_node_internal dom_node_internal;
diff --git a/src/core/node.c b/src/core/node.c
index d72af0f..17f93dd 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -1933,6 +1933,7 @@ bool _dom_node_permitted_child(const dom_node_internal 
*parent,
        case DOM_COMMENT_NODE:
        case DOM_DOCUMENT_TYPE_NODE:
        case DOM_NOTATION_NODE:
+       case DOM_NODE_TYPE_COUNT:
                valid = false;
                break;
 


-----------------------------------------------------------------------

Summary of changes:
 include/dom/core/node.h |    2 +-
 src/core/node.c         |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/dom/core/node.h b/include/dom/core/node.h
index 35be6f0..ba273af 100644
--- a/include/dom/core/node.h
+++ b/include/dom/core/node.h
@@ -68,7 +68,7 @@ typedef enum {
        DOM_NOTATION_NODE               = 12,
 
        /* And a count of the number of node types */
-       DOM_NODE_TYPE_COUNT             = DOM_NOTATION_NODE
+       DOM_NODE_TYPE_COUNT
 } dom_node_type;
 
 typedef struct dom_node_internal dom_node_internal;
diff --git a/src/core/node.c b/src/core/node.c
index d72af0f..17f93dd 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -1933,6 +1933,7 @@ bool _dom_node_permitted_child(const dom_node_internal 
*parent,
        case DOM_COMMENT_NODE:
        case DOM_DOCUMENT_TYPE_NODE:
        case DOM_NOTATION_NODE:
+       case DOM_NODE_TYPE_COUNT:
                valid = false;
                break;
 


-- 
Document Object Model library

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to