diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-22 23:00:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-22 23:00:29 +0300 |
commit | 3c027533d60765d302bfb3abebe44df97af29838 (patch) | |
tree | 6834a6c25a26289530f3ede24971be6ec2c08685 | |
parent | 51061f70a78dd82952c76cb76b0831fcf21924ae (diff) | |
download | manaverse-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.cpp | 2 |
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 |