diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-24 22:21:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-24 22:21:02 +0300 |
commit | 490a93a1d7a347ab586637bf9d8163e114285a02 (patch) | |
tree | cae315ef7502f6e9b4b55bd68bac66d5fb8e33ff /src/gui/setup_video.cpp | |
parent | a5926417dad1f91966ccacfc5572369d309c59be (diff) | |
download | manaplus-490a93a1d7a347ab586637bf9d8163e114285a02.tar.gz manaplus-490a93a1d7a347ab586637bf9d8163e114285a02.tar.bz2 manaplus-490a93a1d7a347ab586637bf9d8163e114285a02.tar.xz manaplus-490a93a1d7a347ab586637bf9d8163e114285a02.zip |
Add safe error string reporting function.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index ae7e7a9cc..eff04614d 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -383,7 +383,7 @@ void Setup_Video::apply() " and restoration of old mode also " "failed!") << std::endl; } - logger->error(errorMsg.str()); + logger->safeError(errorMsg.str()); } } #if defined(WIN32) || defined(__APPLE__) |