diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-02 10:39:33 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-02 10:39:33 +0000 |
commit | e89ecd460dd2aa14aa7fd01292628fb74cb34692 (patch) | |
tree | e92c24b0677d30e81e6532b874b6afb0a363a63f /src/log.cpp | |
parent | 4e668b287b3c32d4f586febdd259983f2f0504c3 (diff) | |
download | mana-e89ecd460dd2aa14aa7fd01292628fb74cb34692.tar.gz mana-e89ecd460dd2aa14aa7fd01292628fb74cb34692.tar.bz2 mana-e89ecd460dd2aa14aa7fd01292628fb74cb34692.tar.xz mana-e89ecd460dd2aa14aa7fd01292628fb74cb34692.zip |
Less Image::setAlpha calls.
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); } |