diff options
Diffstat (limited to 'src/interactive.cc')
-rw-r--r-- | src/interactive.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/interactive.cc b/src/interactive.cc index 61273f06..35382e8f 100644 --- a/src/interactive.cc +++ b/src/interactive.cc @@ -181,12 +181,11 @@ string join_args(call_scope_t& args) bool first = true; for (std::size_t i = 0; i < args.size(); i++) { - if (first) { - buf << args[i]; + if (first) first = false; - } else { - buf << ' ' << args[i]; - } + else + buf << ' '; + buf << args[i]; } return buf.str(); |