diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 52c8aff3c..c75c6a328 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -352,8 +352,8 @@ static void print_worldspecs(const std::vector<WorldSpec> &worldspecs, std::string name = worldspec.name; std::string path = worldspec.path; if (name.find(' ') != std::string::npos) - name = std::string("'") + name + "'"; - path = std::string("'") + path + "'"; + name = std::string("'").append(name).append("'"); + path = std::string("'").append(path).append("'"); name = padStringRight(name, 14); os << " " << name << " " << path << std::endl; } |