summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-22 23:00:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-24 00:30:16 +0300
commit898e12f0cf9fb50b2162c9b8279b8f675f75b285 (patch)
tree975552f4536af667ee808d7066e98f0a239a850e /src
parenta8d90b8a84b5a21c53fb5d279dc983ae1e2c3217 (diff)
downloadmanaplus-898e12f0cf9fb50b2162c9b8279b8f675f75b285.tar.gz
manaplus-898e12f0cf9fb50b2162c9b8279b8f675f75b285.tar.bz2
manaplus-898e12f0cf9fb50b2162c9b8279b8f675f75b285.tar.xz
manaplus-898e12f0cf9fb50b2162c9b8279b8f675f75b285.zip
Use only static error message to calling system().
Diffstat (limited to 'src')
-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