diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-22 23:00:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-24 00:30:16 +0300 |
commit | 898e12f0cf9fb50b2162c9b8279b8f675f75b285 (patch) | |
tree | 975552f4536af667ee808d7066e98f0a239a850e /src | |
parent | a8d90b8a84b5a21c53fb5d279dc983ae1e2c3217 (diff) | |
download | mv-898e12f0cf9fb50b2162c9b8279b8f675f75b285.tar.gz mv-898e12f0cf9fb50b2162c9b8279b8f675f75b285.tar.bz2 mv-898e12f0cf9fb50b2162c9b8279b8f675f75b285.tar.xz mv-898e12f0cf9fb50b2162c9b8279b8f675f75b285.zip |
Use only static error message to calling system().
Diffstat (limited to 'src')
-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 |