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
commit3c30aa23a3f7388d8a5d53f55715715012b0c1d6 (patch)
tree6f06b16d9a9c3445335797c82db59b60b0097fab /include
parentd757eb6c31ee35bc1fdd98ecdc621b4a6f789138 (diff)
downloadlibdom-3c30aa23a3f7388d8a5d53f55715715012b0c1d6.tar.gz
libdom-3c30aa23a3f7388d8a5d53f55715715012b0c1d6.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,