summaryrefslogtreecommitdiff
path: root/shared/cplusplus/PrettyPrinter.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <qtc-committer@nokia.com>2009-01-07 10:26:27 +0100
committerRoberto Raggi <qtc-committer@nokia.com>2009-01-07 10:26:27 +0100
commitfb0d60ae66c0ae5b97536e2f4ce258e304553fee (patch)
treea7f75e0edba1d4587637fa6df19a61f2b633a8e5 /shared/cplusplus/PrettyPrinter.cpp
parentbeee08de5a9630eb88cb088b9f07e3a74306445e (diff)
downloadqt-creator-fb0d60ae66c0ae5b97536e2f4ce258e304553fee.tar.gz
Add a space before the initializer.
Diffstat (limited to 'shared/cplusplus/PrettyPrinter.cpp')
-rw-r--r--shared/cplusplus/PrettyPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/cplusplus/PrettyPrinter.cpp b/shared/cplusplus/PrettyPrinter.cpp
index d6addb855b..8a8b43bb37 100644
--- a/shared/cplusplus/PrettyPrinter.cpp
+++ b/shared/cplusplus/PrettyPrinter.cpp
@@ -366,6 +366,7 @@ bool PrettyPrinter::visit(DeclaratorAST *ast)
out << ' ';
}
if (ast->initializer) {
+ out << ' ';
out << '=';
out << ' ';
accept(ast->initializer);