From 83ace96a3046ec0f6bdbd258280b50292a4e8caf Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 11 Sep 2012 14:50:06 +0100 Subject: fixup comment damage from automated type conversion --- src/core/element.c | 8 ++++---- src/core/node.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/core') diff --git a/src/core/element.c b/src/core/element.c index df40eaf..cbdb6e1 100644 --- a/src/core/element.c +++ b/src/core/element.c @@ -739,7 +739,7 @@ dom_exception _dom_element_get_attribute_node(struct dom_element *element, * \param attr The attribute node to add * \param result Pointer to location to receive previous node * \return DOM_NO_ERR on success, - * DOM_WRONG_DOCUMENT_ERR if ::attr does not beint32_t to the + * DOM_WRONG_DOCUMENT_ERR if ::attr does not belong to the * same document as ::element, * DOM_NO_MODIFICATION_ALLOWED_ERR if ::element is readonly, * DOM_INUSE_ATTRIBUTE_ERR if ::attr is already an attribute @@ -944,7 +944,7 @@ dom_exception _dom_element_get_attribute_node_ns(struct dom_element *element, * \param attr The attribute node to add * \param result Pointer to location to recieve previous node * \return DOM_NO_ERR on success, - * DOM_WRONG_DOCUMENT_ERR if ::attr does not beint32_t to the + * DOM_WRONG_DOCUMENT_ERR if ::attr does not belong to the * same document as ::element, * DOM_NO_MODIFICATION_ALLOWED_ERR if ::element is readonly, * DOM_INUSE_ATTRIBUTE_ERR if ::attr is already an attribute @@ -1843,7 +1843,7 @@ dom_exception _dom_element_get_attr_node(struct dom_element *element, * \param attr The attribute node to add * \param result Pointer to location to receive previous node * \return DOM_NO_ERR on success, - * DOM_WRONG_DOCUMENT_ERR if ::attr does not beint32_t to the + * DOM_WRONG_DOCUMENT_ERR if ::attr does not belong to the * same document as ::element, * DOM_NO_MODIFICATION_ALLOWED_ERR if ::element is readonly, * DOM_INUSE_ATTRIBUTE_ERR if ::attr is already an attribute @@ -1869,7 +1869,7 @@ dom_exception _dom_element_set_attr_node(struct dom_element *element, /** \todo validate name */ - /* Ensure element and attribute beint32_t to the same document */ + /* Ensure element and attribute belong to the same document */ if (e->owner != attr_node->owner) return DOM_WRONG_DOCUMENT_ERR; diff --git a/src/core/node.c b/src/core/node.c index b14f4fa..ca8fd72 100644 --- a/src/core/node.c +++ b/src/core/node.c @@ -167,7 +167,7 @@ dom_exception _dom_node_initialise(dom_node_internal *node, node->previous = NULL; node->next = NULL; - /* Note: nodes do not reference the document to which they beint32_t, + /* Note: nodes do not reference the document to which they belong, * as this would result in the document never being destroyed once * the client has finished with it. The document will be aware of * any nodes that it owns through 2 mechanisms: @@ -783,7 +783,7 @@ dom_exception _dom_node_insert_before(dom_node_internal *node, * also need to set its owner. */ if (node->type == DOM_DOCUMENT_NODE && new_child->type == DOM_DOCUMENT_TYPE_NODE) { - /* See int32_t comment in _dom_node_initialise as to why + /* See long comment in _dom_node_initialise as to why * we don't ref the document here */ new_child->owner = (struct dom_document *) node; } @@ -1277,7 +1277,7 @@ dom_exception _dom_node_set_prefix(dom_node_internal *node, return DOM_NO_MODIFICATION_ALLOWED_ERR; } - /* No int32_ter want existing prefix */ + /* No longer want existing prefix */ if (node->prefix != NULL) { dom_string_unref(node->prefix); } -- cgit v1.2.3