diff options
Diffstat (limited to 'src/log.cpp')
-rw-r--r-- | src/log.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/log.cpp b/src/log.cpp index df92e49e..df7b4fd5 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -83,12 +83,11 @@ void Logger::log(const char *log_text, ...) void Logger::error(const std::string &error_text) { - + log("Error: %s", error_text.c_str()); #ifdef WIN32 MessageBox(NULL, error_text.c_str(), "Error", MB_ICONERROR | MB_OK); #else std::cerr << "Error: " << error_text << std::endl; - log("Error: %s", error_text.c_str()); #endif exit(1); } |