summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-24 22:21:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-24 22:21:02 +0300
commit490a93a1d7a347ab586637bf9d8163e114285a02 (patch)
treecae315ef7502f6e9b4b55bd68bac66d5fb8e33ff /src/gui/setup_video.cpp
parenta5926417dad1f91966ccacfc5572369d309c59be (diff)
downloadmanaplus-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.cpp2
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__)