From 0198948d26793dc6dedd0f38cc0f77c90c043c8a Mon Sep 17 00:00:00 2001 From: momo5502 Date: Mon, 20 Feb 2017 21:30:59 +0100 Subject: [PATCH] [Exception] Fix message box --- src/Components/Modules/Exception.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Components/Modules/Exception.cpp b/src/Components/Modules/Exception.cpp index b21ba09b..5b4cd47e 100644 --- a/src/Components/Modules/Exception.cpp +++ b/src/Components/Modules/Exception.cpp @@ -88,8 +88,7 @@ namespace Components auto minidump = MinidumpUpload::CreateQueuedMinidump(ExceptionInfo, Exception::MiniDumpType); if (!minidump) { - MessageBoxA(nullptr, "Minidump Error", - Utils::String::VA("There was an error creating the minidump (%s)! Hit OK to close the program.", Utils::GetLastWindowsError().data()), MB_OK | MB_ICONERROR); + MessageBoxA(nullptr, Utils::String::VA("There was an error creating the minidump (%s)! Hit OK to close the program.", Utils::GetLastWindowsError().data()), "Minidump Error", MB_OK | MB_ICONERROR); OutputDebugStringA("Failed to create new minidump!"); Utils::OutputDebugLastError(); TerminateProcess(GetCurrentProcess(), ExceptionInfo->ExceptionRecord->ExceptionCode);