diff options
author | corvid <corvid@lavabit.com> | 2010-11-24 19:26:45 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2010-11-24 19:26:45 +0000 |
commit | 58cb0cbc32a4e464d7f2601a872cc308bf5dd45b (patch) | |
tree | fc2519fe9164a6f4eaaa1df1f33ef08a76e174ae /src | |
parent | 9ca5a62164a183247bb01b63456144f453349c33 (diff) |
trim some spaces
Diffstat (limited to 'src')
-rw-r--r-- | src/cache.c | 2 | ||||
-rw-r--r-- | src/capi.c | 2 | ||||
-rw-r--r-- | src/css.hh | 2 | ||||
-rw-r--r-- | src/html.cc | 2 | ||||
-rw-r--r-- | src/styleengine.cc | 2 | ||||
-rw-r--r-- | src/styleengine.hh | 2 | ||||
-rw-r--r-- | src/table.cc | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/cache.c b/src/cache.c index ec7af67d..ee9f2218 100644 --- a/src/cache.c +++ b/src/cache.c @@ -516,7 +516,7 @@ const char *a_Cache_set_content_type(const DilloUrl *url, const char *ctype, ((!major || !*major) && (!minor || !*minor))) { /* META only gives charset; use detected MIME type too */ entry->TypeNorm = dStrconcat(entry->TypeDet, ctype, NULL); - } else if (*from == 'm' && + } else if (*from == 'm' && !dStrncasecmp(ctype, "text/xhtml", 10)) { /* WORKAROUND: doxygen uses "text/xhtml" in META */ entry->TypeNorm = dStrdup(entry->TypeDet); @@ -362,7 +362,7 @@ static void Capi_dpi_send_source(BrowserWindow *bw, DilloUrl *url) * For a user request, the action will be permitted. * For an automatic request, permission to load depends on the filter set * by the user. - */ + */ static bool_t Capi_filters_test(const DilloUrl *wanted, const DilloUrl *requester) { @@ -462,7 +462,7 @@ class CssContext { static CssStyleSheet *userStyle; static CssStyleSheet *userImportantStyle; CssStyleSheet *sheet[CSS_PRIMARY_USER_IMPORTANT + 1]; - int pos; + int pos; void buildUserAgentStyle (); void buildUserStyle (); diff --git a/src/html.cc b/src/html.cc index 11ad98e3..5b7f4988 100644 --- a/src/html.cc +++ b/src/html.cc @@ -1760,7 +1760,7 @@ static void Html_tag_open_body(DilloHtml *html, const char *tag, int tagsize) bgColor = html->styleEngine->backgroundColor (); if (bgColor) - HT2LT(html)->setBgColor(bgColor); + HT2LT(html)->setBgColor(bgColor); /* Determine a color for visited links. * This color is computed once per page and used for immediate feedback diff --git a/src/styleengine.cc b/src/styleengine.cc index 9a28f562..7a297925 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -743,7 +743,7 @@ Style * StyleEngine::wordStyle0 () { /** * \brief Recompute all style information from scratch - * This is used to take into account CSS styles for the HTML-element. + * This is used to take into account CSS styles for the HTML-element. * The CSS data is only completely available after parsing the HEAD-section * and thereby after the HTML-element has been opened. * Note that restyle() does not change any styles in the widget tree. diff --git a/src/styleengine.hh b/src/styleengine.hh index 841d5c06..e37aeed1 100644 --- a/src/styleengine.hh +++ b/src/styleengine.hh @@ -43,7 +43,7 @@ class StyleEngine { if (!n->nonCssProperties) n->nonCssProperties = new CssPropertyList (true); - n->nonCssProperties->set(name, type, value); + n->nonCssProperties->set(name, type, value); } void preprocessAttrs (dw::core::style::StyleAttrs *attrs); void postprocessAttrs (dw::core::style::StyleAttrs *attrs); diff --git a/src/table.cc b/src/table.cc index d21f8d74..58cdf22e 100644 --- a/src/table.cc +++ b/src/table.cc @@ -219,7 +219,7 @@ void Html_tag_open_th(DilloHtml *html, const char *tag, int tagsize) /* * The table border model is stored in the table's stack item - */ + */ static int Html_table_get_border_model(DilloHtml *html) { static int i_TABLE = -1; |