summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-22 23:00:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-22 23:00:29 +0300
commit3c027533d60765d302bfb3abebe44df97af29838 (patch)
tree6834a6c25a26289530f3ede24971be6ec2c08685
parent51061f70a78dd82952c76cb76b0831fcf21924ae (diff)
downloadmanaverse-3c027533d60765d302bfb3abebe44df97af29838.tar.gz
manaverse-3c027533d60765d302bfb3abebe44df97af29838.tar.bz2
manaverse-3c027533d60765d302bfb3abebe44df97af29838.tar.xz
manaverse-3c027533d60765d302bfb3abebe44df97af29838.zip
Use only static error message to calling system().
-rw-r--r--src/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 1541616f2..8eba8fdb9 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -206,7 +206,7 @@ void Logger::error(const std::string &error_text)
// (ConstStr255Param) msg, nullptr, nullptr);
#elif defined __linux__ || __linux
std::cerr << "Error: " << error_text << std::endl;
- std::string msg = "xmessage \"" + error_text + "\"";
+ std::string msg = "xmessage \"Error happand. Please see log file for more information.\"";
if (system(msg.c_str()) == -1)
std::cerr << "Error: " << error_text << std::endl;
#else