diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-06-10 12:14:32 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-06-10 15:01:20 +0300 |
commit | d49612f98add29066817b7c808b76c2d728948e5 (patch) | |
tree | 63b71a0f69b6c829b177ffd4de5d8352b1b462e3 /src/index/base.cpp | |
parent | d1ae7c0355662481a7d181a0a458284936d53eb1 (diff) |
Make SetMiscWarning() accept bilingual_str argument
Diffstat (limited to 'src/index/base.cpp')
-rw-r--r-- | src/index/base.cpp | 2 |
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"), |