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/styleengine.cc | |
parent | b358beb5b91f6ef1bf067a2c3f0268f8b44af368 (diff) |
wrap long lines in src/ css code
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 63dac1ec..a7593c18 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -357,7 +357,7 @@ void StyleEngine::apply (StyleAttrs *attrs, CssPropertyList *props) { break; case CSS_PROPERTY_MARGIN_BOTTOM: computeValue (&attrs->margin.bottom, p->value.intVal, attrs->font); - if (attrs->margin.bottom < 0) // \todo fix negative margins in dw/* + if (attrs->margin.bottom < 0) // \todo fix negative margins in dw/* attrs->margin.bottom = 0; break; case CSS_PROPERTY_MARGIN_LEFT: @@ -563,9 +563,10 @@ Style * StyleEngine::wordStyle0 (CssPropertyList *nonCssProperties) { return stack->getRef (stack->size () - 1)->wordStyle; } -void StyleEngine::parse (DilloHtml *html, DilloUrl *url, const char *buf, int buflen, CssOrigin origin) { +void StyleEngine::parse (DilloHtml *html, DilloUrl *url, const char *buf, + int buflen, CssOrigin origin) { if (importDepth > 10) { // avoid looping with recursive @import directives - MSG_WARN("Maximum depth of CSS @import reached - ignoring stylesheet.\n"); + MSG_WARN("Maximum depth of CSS @import reached--ignoring stylesheet.\n"); return; } |