diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
commit | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch) | |
tree | df4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/commands.cpp | |
parent | 9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff) | |
download | manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2 manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip |
improve a bit strings declaration.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 680890b65..fc033cd83 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1132,7 +1132,7 @@ impHandler(url) std::string url = args; if (!strStartWith(url, "http") && !strStartWith(url, "?")) url = "http://" + url; - std::string str = strprintf("[@@%s |%s@@]", url.c_str(), args.c_str()); + std::string str(strprintf("[@@%s |%s@@]", url.c_str(), args.c_str())); outStringNormal(tab, str, str); } } |