aboutsummaryrefslogtreecommitdiff
path: root/src/index/base.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-10 12:14:32 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-10 15:01:20 +0300
commitd49612f98add29066817b7c808b76c2d728948e5 (patch)
tree63b71a0f69b6c829b177ffd4de5d8352b1b462e3 /src/index/base.cpp
parentd1ae7c0355662481a7d181a0a458284936d53eb1 (diff)
Make SetMiscWarning() accept bilingual_str argument
Diffstat (limited to 'src/index/base.cpp')
-rw-r--r--src/index/base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/base.cpp b/src/index/base.cpp
index 74ea421e13..1d09f2e577 100644
--- a/src/index/base.cpp
+++ b/src/index/base.cpp
@@ -21,7 +21,7 @@ template<typename... Args>
static void FatalError(const char* fmt, const Args&... args)
{
std::string strMessage = tfm::format(fmt, args...);
- SetMiscWarning(strMessage);
+ SetMiscWarning(Untranslated(strMessage));
LogPrintf("*** %s\n", strMessage);
uiInterface.ThreadSafeMessageBox(
Untranslated("Error: A fatal internal error occurred, see debug.log for details"),