diff options
Diffstat (limited to 'Source/Core/Updater/Main.cpp')
| -rw-r--r-- | Source/Core/Updater/Main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/Core/Updater/Main.cpp b/Source/Core/Updater/Main.cpp index 0fe78505cf..10ae9aadd4 100644 --- a/Source/Core/Updater/Main.cpp +++ b/Source/Core/Updater/Main.cpp @@ -656,14 +656,9 @@ bool PerformUpdate(const TodoList& todo, const std::string& install_base_path, void FatalError(const std::string& message) { - auto wide_message = UTF8ToUTF16(message); - - MessageBox(nullptr, - (L"A fatal error occured and the updater cannot continue:\n " + wide_message).c_str(), - L"Error", MB_ICONERROR); - fprintf(log_fp, "%s\n", message.c_str()); + UI::Error(message); UI::Stop(); } } // namespace |
