diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-09-06 17:36:37 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-09-06 17:36:37 -0300 |
commit | 0b32abdc19b0c37d3f8c69d4b720437405246f88 (patch) | |
tree | 041178f9ed43b8954799d52d056119c0cdd23a61 /src | |
parent | 6e539b69c6663c3bb99396716bc5e8e3d67f42cb (diff) |
remove trailing whitespace
Diffstat (limited to 'src')
-rw-r--r-- | src/css.cc | 2 | ||||
-rw-r--r-- | src/doctree.hh | 4 | ||||
-rw-r--r-- | src/styleengine.cc | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -161,7 +161,7 @@ bool CssSelector::match (Doctree *docTree, const DoctreeNode *node) { if (comb == ADJACENT_SIBLING) node = docTree->sibling (node); - else + else node = docTree->parent (node); } diff --git a/src/doctree.hh b/src/doctree.hh index 92cf6f0d..85c1effd 100644 --- a/src/doctree.hh +++ b/src/doctree.hh @@ -58,7 +58,7 @@ class Doctree { num = 0; }; - ~Doctree () { + ~Doctree () { delete rootNode; }; @@ -85,7 +85,7 @@ class Doctree { }; inline DoctreeNode *parent (const DoctreeNode *node) { - if (node->parent != rootNode) + if (node->parent != rootNode) return node->parent; else return NULL; diff --git a/src/styleengine.cc b/src/styleengine.cc index 9a8a1738..6060836c 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -143,7 +143,7 @@ void StyleEngine::setStyle (const char *styleAttr) { if (styleAttr && prefs.parse_embedded_css) { n->styleAttrProperties = new CssPropertyList (true); n->styleAttrPropertiesImportant = new CssPropertyList (true); - + CssParser::parseDeclarationBlock (styleAttr, strlen (styleAttr), n->styleAttrProperties, n->styleAttrPropertiesImportant); |