summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-09-11 14:50:06 +0100
committerVincent Sanders <vince@netsurf-browser.org>2012-09-11 14:50:06 +0100
commit7dbf02c5cef37edeefd89bc23de49c22ce3e2e7f (patch)
tree9d8313da19d26e1830cce7797102e6aba52fba4b /src
parent28490c875240db5c878eba2ec7ec1af7dc414521 (diff)
downloadlibdom-7dbf02c5cef37edeefd89bc23de49c22ce3e2e7f.tar.gz
libdom-7dbf02c5cef37edeefd89bc23de49c22ce3e2e7f.tar.bz2
fixup comment damage from automated type conversion
Diffstat (limited to 'src')
-rw-r--r--src/core/element.c8
-rw-r--r--src/core/node.c6
-rw-r--r--src/utils/hashtable.c4
3 files changed, 9 insertions, 9 deletions
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);
}
diff --git a/src/utils/hashtable.c b/src/utils/hashtable.c
index fb7c84a..db6ece8 100644
--- a/src/utils/hashtable.c
+++ b/src/utils/hashtable.c
@@ -114,7 +114,7 @@ dom_hash_table *_dom_hash_clone(dom_hash_table *ht)
* Destroys a hash table, freeing all memory associated with it.
*
* \param ht Hash table to destroy. After the function returns, this
- * will noint32_ter be valid
+ * will nolonger be valid
*/
void _dom_hash_destroy(dom_hash_table *ht)
{
@@ -305,7 +305,7 @@ uint32_t _dom_hash_get_length(struct dom_hash_table *ht)
* If you make changes to this hash table implementation, please rerun this
* test, and if possible, through valgrind to make sure there are no memory
* leaks or invalid memory accesses. If you add new functionality, please
- * include a test for it that has good coverage aint32_t side the other tests.
+ * include a test for it that has good coverage along side the other tests.
*/
#ifdef TEST_RIG