diff options
author | corvid <corvid@lavabit.com> | 2009-04-19 10:25:22 +0200 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-04-19 10:25:22 +0200 |
commit | 8ab9de15c7e52f8ab201412649f946b1922b1944 (patch) | |
tree | e068a7748c272e3493af5f19f7f38fc5b751e66c /src/css.cc | |
parent | b358beb5b91f6ef1bf067a2c3f0268f8b44af368 (diff) |
wrap long lines in src/ css code
Diffstat (limited to 'src/css.cc')
-rw-r--r-- | src/css.cc | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -21,7 +21,7 @@ using namespace dw::core::style; void CssProperty::print () { fprintf (stderr, "%s - %d\n", - CssParser::propertyNameString((CssPropertyName) name), value.intVal); + CssParser::propertyNameString((CssPropertyName)name),value.intVal); } CssPropertyList::~CssPropertyList () { @@ -363,7 +363,8 @@ void CssStyleSheet::apply (CssPropertyList *props, } if (minSpecIndex >= 0) { - ruleList[minSpecIndex]->get (index[minSpecIndex])->apply (props, docTree, node); + ruleList[minSpecIndex]->get (index[minSpecIndex])->apply + (props, docTree, node); index[minSpecIndex]++; } else { break; @@ -482,7 +483,8 @@ void CssContext::buildUserAgentStyle () { "th {font-weight: bolder; text-align: center}" "code, tt, pre, samp, kbd {font-family: monospace}"; - CssParser::parse (NULL, NULL, this, cssBuf, strlen (cssBuf), CSS_ORIGIN_USER_AGENT); + CssParser::parse (NULL, NULL, this, cssBuf, strlen (cssBuf), + CSS_ORIGIN_USER_AGENT); } void CssContext::buildUserStyle () { @@ -490,7 +492,7 @@ void CssContext::buildUserStyle () { char *filename = dStrconcat(dGethomedir(), "/.dillo/style.css", NULL); if ((style = a_Misc_file2dstr(filename))) { - CssParser::parse (NULL, NULL, this, style->str, style->len, CSS_ORIGIN_USER); + CssParser::parse (NULL,NULL,this,style->str, style->len,CSS_ORIGIN_USER); dStr_free (style, 1); } dFree (filename); |