summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-03-25 09:34:59 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-03-25 09:34:59 +0000
commit179f61771cb083a3f7b7116d2562ba9fc9103083 (patch)
tree6f06b16d9a9c3445335797c82db59b60b0097fab /include
parentfc4f4aff6c4c7d99314dc2a1ef57fe3176d974fb (diff)
downloadlibdom-179f61771cb083a3f7b7116d2562ba9fc9103083.tar.gz
libdom-179f61771cb083a3f7b7116d2562ba9fc9103083.tar.bz2
Spell Referrer properly, rather than HTTPish.
svn path=/trunk/libdom/; revision=13659
Diffstat (limited to 'include')
-rw-r--r--include/dom/html/html_document.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/dom/html/html_document.h b/include/dom/html/html_document.h
index 6270f47..ca9727a 100644
--- a/include/dom/html/html_document.h
+++ b/include/dom/html/html_document.h
@@ -27,8 +27,8 @@ typedef struct dom_html_document_vtable {
dom_string **title);
dom_exception (*set_title)(dom_html_document *doc,
dom_string *title);
- dom_exception (*get_referer)(dom_html_document *doc,
- dom_string **referer);
+ dom_exception (*get_referrer)(dom_html_document *doc,
+ dom_string **referrer);
dom_exception (*get_domain)(dom_html_document *doc,
dom_string **domain);
dom_exception (*get_url)(dom_html_document *doc,
@@ -82,14 +82,14 @@ static inline dom_exception dom_html_document_set_title(dom_html_document *doc,
dom_html_document_set_title((dom_html_document *) (d), \
(dom_string **) (t))
-static inline dom_exception dom_html_document_get_referer(dom_html_document *doc,
- dom_string **referer)
+static inline dom_exception dom_html_document_get_referrer(dom_html_document *doc,
+ dom_string **referrer)
{
return ((dom_html_document_vtable *) ((dom_node *) doc)->vtable)->
- get_referer(doc, referer);
+ get_referrer(doc, referrer);
}
-#define dom_html_document_get_referer(d, r) \
- dom_html_document_get_referer((dom_html_document *) (d), \
+#define dom_html_document_get_referrer(d, r) \
+ dom_html_document_get_referrer((dom_html_document *) (d), \
(dom_string **) (r))
static inline dom_exception dom_html_document_get_domain(dom_html_document *doc,