aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-02-08 21:16:37 -0300
commit845493306279f446dbac9568a0a1e0f442e615dd (patch)
treedbf0a36e50a268b456760ce881a802d28979cc5f /src
parent283a7960e615b14c21b7ce757b0fcbe5c945bb95 (diff)
's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.
Diffstat (limited to 'src')
-rw-r--r--src/css.hh10
-rw-r--r--src/dillo.cc2
2 files changed, 7 insertions, 5 deletions
diff --git a/src/css.hh b/src/css.hh
index ef9774e8..ca708ca4 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -246,7 +246,7 @@ class CssPropertyList : public lout::misc::SimpleVector <CssProperty> {
void apply (CssPropertyList *props);
void print ();
inline void ref () { refCount++; }
- inline void unref () { if(--refCount == 0) delete this; }
+ inline void unref () { if (--refCount == 0) delete this; }
};
class CssSimpleSelector {
@@ -300,7 +300,7 @@ class CssSelector {
int specificity ();
void print ();
inline void ref () { refCount++; }
- inline void unref () { if(--refCount == 0) delete this; }
+ inline void unref () { if (--refCount == 0) delete this; }
};
/**
@@ -340,7 +340,9 @@ class CssStyleSheet {
};
void insert (CssRule *rule);
- inline bool equals (lout::object::Object *other) { return this == other; };
+ inline bool equals (lout::object::Object *other) {
+ return this == other;
+ };
inline int hashValue () { return (intptr_t) this; };
};
@@ -348,7 +350,7 @@ class CssStyleSheet {
<lout::object::ConstString, RuleList > {
public:
RuleMap () : lout::container::typed::HashTable
- <lout::object::ConstString, RuleList > (true, true, 256) {};
+ <lout::object::ConstString, RuleList > (true, true, 256) {};
};
static const int ntags = 90; // \todo replace 90
diff --git a/src/dillo.cc b/src/dillo.cc
index 7be0f923..2f886f6b 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -96,7 +96,7 @@ static void Dillo_print_help(const char *cmdname, const CLI_options *options)
{
printf("Usage: %s [OPTION]... [--] [URL|FILE]...\n"
"Options:\n", cmdname);
- while(options && options->help) {
+ while (options && options->help) {
printf("%s\n", options->help);
options++;
}