summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-09-06 17:36:37 -0300
committerJorge Arellano Cid <jcid@dillo.org>2011-09-06 17:36:37 -0300
commit0b32abdc19b0c37d3f8c69d4b720437405246f88 (patch)
tree041178f9ed43b8954799d52d056119c0cdd23a61 /src
parent6e539b69c6663c3bb99396716bc5e8e3d67f42cb (diff)
remove trailing whitespace
Diffstat (limited to 'src')
-rw-r--r--src/css.cc2
-rw-r--r--src/doctree.hh4
-rw-r--r--src/styleengine.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/css.cc b/src/css.cc
index e9a8eb56..a1d51da1 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -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);