summaryrefslogtreecommitdiff
path: root/dw/alignedtextblock.cc
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 /dw/alignedtextblock.cc
parent283a7960e615b14c21b7ce757b0fcbe5c945bb95 (diff)
's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.
Diffstat (limited to 'dw/alignedtextblock.cc')
-rw-r--r--dw/alignedtextblock.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/alignedtextblock.cc b/dw/alignedtextblock.cc
index bb24a3bc..a886aed2 100644
--- a/dw/alignedtextblock.cc
+++ b/dw/alignedtextblock.cc
@@ -54,7 +54,7 @@ void AlignedTextblock::List::unref(int pos)
textblocks->set (pos, NULL);
refCount--;
- if(refCount == 0)
+ if (refCount == 0)
delete this;
}
@@ -68,7 +68,7 @@ AlignedTextblock::AlignedTextblock (bool limitTextWidth):
void AlignedTextblock::setRefTextblock (AlignedTextblock *ref)
{
- if(ref == NULL)
+ if (ref == NULL)
list = new List();
else
list = ref->list;