aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-05-08 04:25:55 +0000
committercorvid <corvid@lavabit.com>2009-05-08 04:25:55 +0000
commitec2d54cf916e3a9fa65368c504538d34bdd1ecf6 (patch)
tree74bee81442a875bdcc22d58601e2d1c24aba7586 /src
parenta975d5033ed5905cd05b08bf752851325d34a0a7 (diff)
spelling
Diffstat (limited to 'src')
-rw-r--r--src/dns.c2
-rw-r--r--src/html.cc6
-rw-r--r--src/styleengine.hh2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/dns.c b/src/dns.c
index 5c47aee5..a78d7d46 100644
--- a/src/dns.c
+++ b/src/dns.c
@@ -381,7 +381,7 @@ void a_Dns_resolve(const char *hostname, DnsCallback_t cb_func, void *cb_data)
break;
if (i < dns_cache_size) {
- /* already resolved, call the Callback inmediately. */
+ /* already resolved, call the Callback immediately. */
cb_func(0, dns_cache[i].addr_list, cb_data);
} else if ((i = Dns_queue_find(hostname)) != -1) {
diff --git a/src/html.cc b/src/html.cc
index ea178277..d2bb8d7e 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -480,7 +480,7 @@ DilloHtml::DilloHtml(BrowserWindow *p_bw, const DilloUrl *url,
}
/*
- * Miscelaneous initializations for Dw
+ * Miscellaneous initializations for Dw
*/
void DilloHtml::initDw()
{
@@ -1106,7 +1106,7 @@ static void Html_process_space(DilloHtml *html, const char *space,
} else {
if (SGML_SPCDEL) {
- /* SGML_SPCDEL ignores white space inmediately after an open tag */
+ /* SGML_SPCDEL ignores white space immediately after an open tag */
} else if (!html->PrevWasSPC) {
DW2TB(html->dw)->addSpace(html->styleEngine->wordStyle ());
html->PrevWasSPC = true;
@@ -3466,7 +3466,7 @@ static void Html_process_tag(DilloHtml *html, char *tag, int tagsize)
if (html->styleEngine->getId ())
Html_add_anchor(html, html->styleEngine->getId ());
- /* Request inmediate close for elements with forbidden close tag. */
+ /* Request immediate close for elements with forbidden close tag. */
/* TODO: XHTML always requires close tags. A simple implementation
* of the commented clause below will make it work. */
if (/* parsing HTML && */ Tags[ni].EndTag == 'F')
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 5d5f7c18..e50ba35a 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -11,7 +11,7 @@ class StyleEngine;
/**
* \brief This class provides the glue between HTML parser and CSS subsystem.
*
- * It maintains a document tree and creates and cashes style objects for use
+ * It maintains a document tree and creates and caches style objects for use
* by the HTML parser.
* The HTML parser in turn informs StyleEngine about opened or closed
* HTML elements and their attributes via the startElement() / endElement()