diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-07-03 23:31:08 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-03 23:31:08 +0000 |
commit | e472c3975e9bf280b08bc48e6cc0fcfa0ef46ef5 (patch) | |
tree | cf1b33d0de3e196ac29373a986f7b025ff5a25bd /utils/themeeditor/models | |
parent | 2f68e5be5964a24d68b7cd7816228ce340da3845 (diff) |
Theme Editor: Fixed cd code generation bug: Tags whose paramlists end in \n will now have a newline inserted after them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27266 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models')
-rw-r--r-- | utils/themeeditor/models/parsetreenode.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp index ae83f1aadf..0a500bfbf2 100644 --- a/utils/themeeditor/models/parsetreenode.cpp +++ b/utils/themeeditor/models/parsetreenode.cpp @@ -210,6 +210,8 @@ QString ParseTreeNode::genCode() const } buffer.append(ARGLISTCLOSESYM); } + if(element->tag->params[strlen(element->tag->params) - 1] == '\n') + buffer.append('\n'); break; case TEXT: |