summaryrefslogtreecommitdiff
path: root/src/util/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/command.cpp')
-rw-r--r--src/util/command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/command.cpp b/src/util/command.cpp
index b80851233..334180967 100644
--- a/src/util/command.cpp
+++ b/src/util/command.cpp
@@ -129,11 +129,11 @@ void DeclarationCommand::toStream(std::ostream& out) const {
out << "Declare(";
bool first = true;
for(unsigned i = 0; i < d_declaredSymbols.size(); ++i) {
- if(first) {
+ if(!first) {
out << ", ";
- first = false;
}
out << d_declaredSymbols[i];
+ first = false;
}
out << ")";
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback