summaryrefslogtreecommitdiffstats
path: root/src/sp-flowtext.cpp
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2009-02-08 23:54:32 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2009-02-08 23:54:32 +0000
commitbbac3773a111069893e6522cce0ee316d5801bcf (patch)
tree5dfd373c1c713136533647bfeb5066a654c25113 /src/sp-flowtext.cpp
parentscale x-axis-rotation angle in elliptical arc (diff)
downloadinkscape-bbac3773a111069893e6522cce0ee316d5801bcf.tar.gz
inkscape-bbac3773a111069893e6522cce0ee316d5801bcf.zip
gcc warning cleanup:
warning: suggest a space before ‘;’ or explicit braces around empty body in 'for'/'while' statement (bzr r7251)
Diffstat (limited to 'src/sp-flowtext.cpp')
-rw-r--r--src/sp-flowtext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp
index 9280b604f..c6c095014 100644
--- a/src/sp-flowtext.cpp
+++ b/src/sp-flowtext.cpp
@@ -416,7 +416,7 @@ void SPFlowtext::_buildLayoutInput(SPObject *root, Shape const *exclusion_shape,
if (SP_IS_FLOWPARA(root)) {
// emulate par-indent with the first char's kern
SPObject *t = root;
- for ( ; t != NULL && !SP_IS_FLOWTEXT(t); t = SP_OBJECT_PARENT(t));
+ for ( ; t != NULL && !SP_IS_FLOWTEXT(t); t = SP_OBJECT_PARENT(t)){};
if (SP_IS_FLOWTEXT(t)) {
double indent = SP_FLOWTEXT(t)->par_indent;
if (indent != 0) {