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 | |
parent | 6e539b69c6663c3bb99396716bc5e8e3d67f42cb (diff) |
remove trailing whitespace
-rw-r--r-- | dpi/downloads.cc | 4 | ||||
-rw-r--r-- | dw/fltkplatform.cc | 2 | ||||
-rw-r--r-- | dw/fltkui.cc | 2 | ||||
-rw-r--r-- | dw/fltkviewport.cc | 2 | ||||
-rw-r--r-- | dw/style.cc | 2 | ||||
-rw-r--r-- | src/css.cc | 2 | ||||
-rw-r--r-- | src/doctree.hh | 4 | ||||
-rw-r--r-- | src/styleengine.cc | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc index b984bece..89d599c7 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -203,7 +203,7 @@ static char *escape_tooltip(const char *buf, ssize_t len) char *ret = (char *) malloc(2 * len + 1); char *dest = ret; - while (len-- > 0) { + while (len-- > 0) { if (*buf == '@') *dest++ = *buf; *dest++ = *buf++; @@ -1144,7 +1144,7 @@ static void custLabelMeasure(const Fl_Label* o, int& W, int& H) fl_font(o->font, o->size); fl_measure(o->value, W, H, interpret_symbols); } - + //int main(int argc, char **argv) diff --git a/dw/fltkplatform.cc b/dw/fltkplatform.cc index a949f217..f84ddadf 100644 --- a/dw/fltkplatform.cc +++ b/dw/fltkplatform.cc @@ -172,7 +172,7 @@ void FltkFont::initSystemFonts () family->set ((Fl_Font) i, t); delete familyName; } else { - // set first font of family also as normal font in case there + // set first font of family also as normal font in case there // is no normal (non-bold, non-italic) font family = new FontFamily ((Fl_Font) i, -1, -1, -1); family->set ((Fl_Font) i, t); diff --git a/dw/fltkui.cc b/dw/fltkui.cc index f02110cc..c0c8ff42 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -683,7 +683,7 @@ const char *FltkMultiLineTextResource::getText () { /* FLTK-1.3 insists upon returning a new copy of the buffer text, so * we have to keep track of it. - */ + */ if (text_copy) free(text_copy); text_copy = buffer->text(); diff --git a/dw/fltkviewport.cc b/dw/fltkviewport.cc index d101d4d8..78e7d621 100644 --- a/dw/fltkviewport.cc +++ b/dw/fltkviewport.cc @@ -232,7 +232,7 @@ int FltkViewport::handle (int event) /* When the viewport has focus (and not one of its children), FLTK * sends the event here. Returning zero tells FLTK to resend the * event as SHORTCUT, which we finally route to the parent. */ - + /* As we don't know the exact keybindings set by the user, we ask * for all of them (except Tab to keep form navigation). */ if (Fl::event_key() != FL_Tab) diff --git a/dw/style.cc b/dw/style.cc index d11abf82..b5549d3f 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -833,7 +833,7 @@ void drawBorder (View *view, Rectangle *area, yp1 = yb1 + style->borderWidth.top; xp2 = xb2 - style->borderWidth.right; yp2 = yb2 - style->borderWidth.bottom; - + light = inverse ? Color::SHADING_DARK : Color::SHADING_LIGHT; dark = inverse ? Color::SHADING_LIGHT : Color::SHADING_DARK; normal = inverse ? Color::SHADING_INVERSE : Color::SHADING_NORMAL; @@ -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); |