summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-12 14:42:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-12 14:42:00 +0300
commit251cd4a76fd2b986a1153909eb4e8893d6014c68 (patch)
treeae579d6b42f6093b608e1e8cbf467b504eec77ac /src/commandhandler.cpp
parent626ad765c5173ff73d4bb6bcab2584ca39216927 (diff)
downloadmanaplus-251cd4a76fd2b986a1153909eb4e8893d6014c68.tar.gz
manaplus-251cd4a76fd2b986a1153909eb4e8893d6014c68.tar.bz2
manaplus-251cd4a76fd2b986a1153909eb4e8893d6014c68.tar.xz
manaplus-251cd4a76fd2b986a1153909eb4e8893d6014c68.zip
Add space at end of chat url link.
Remove spaces before opening link.
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 6876f4463..bdce12dea 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -1223,7 +1223,7 @@ void CommandHandler::handleUrl(const std::string &args,
std::string url = args;
if (!strStartWith(url, "http"))
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);
}
}