summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
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);
}
}