diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2010-05-10 16:39:34 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-09-21 10:36:22 (GMT) |
commit | fea278afe6ed287f7dc74ee1b90249d00bae2162 (patch) | |
tree | 6869ecdaa86ee571c78f23c637048bc4ca54a380 | |
parent | 9fcbca8de0963e2429dc7d25adccbf6a895fa7e8 (diff) | |
download | Qt-fea278afe6ed287f7dc74ee1b90249d00bae2162.zip Qt-fea278afe6ed287f7dc74ee1b90249d00bae2162.tar.gz Qt-fea278afe6ed287f7dc74ee1b90249d00bae2162.tar.bz2 |
tiny clean-up for generated data
-rw-r--r-- | util/unicode/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp index 5303c0d..5ae9c1f 100644 --- a/util/unicode/main.cpp +++ b/util/unicode/main.cpp @@ -1905,6 +1905,8 @@ QByteArray createScriptTableDeclaration() else declaration += ' '; } + if (declaration.endsWith(' ')) + declaration.chop(1); } declaration += "\n};\n\n} // namespace QUnicodeTables\n\n"; @@ -2668,14 +2670,14 @@ int main(int, char **) f.write("\n"); f.write(scriptEnumDeclaration); f.write("\n"); - f.write(lineBreakClass); - f.write("\n"); f.write(grapheme_break_string); f.write("\n"); f.write(word_break_string); f.write("\n"); f.write(sentence_break_string); f.write("\n"); + f.write(lineBreakClass); + f.write("\n"); f.write(methods); f.write("} // namespace QUnicodeTables\n\n" "QT_END_NAMESPACE\n\n" |