summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/models/parsetreenode.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-01 20:30:19 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-01 20:30:19 +0000
commita54bfaa69e33b22e8c872298103c5f07d4d59dc5 (patch)
treec546accfe7ec80d2797782208956ebb6b331b671 /utils/themeeditor/models/parsetreenode.cpp
parenta43fbbb9a39917f409d7d28b3bba5cfdd8603139 (diff)
downloadrockbox-a54bfaa69e33b22e8c872298103c5f07d4d59dc5.tar.gz
rockbox-a54bfaa69e33b22e8c872298103c5f07d4d59dc5.tar.bz2
rockbox-a54bfaa69e33b22e8c872298103c5f07d4d59dc5.zip
Theme Editor: Renderer now adds a newline after EVERY logical line in the parse tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27222 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 8edbbe9b6c..d10bb08936 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -518,7 +518,7 @@ void ParseTreeNode::render(const RBRenderInfo &info, RBViewport* viewport,
for(int i = 0; i < children.count(); i++)
children[i]->render(info, viewport);
if(!noBreak)
- viewport->newLine(children.count() > 0 ? false : true);
+ viewport->newLine();
}
else if(element->type == TEXT)
{