From 453c5391a46fe6056e0d0223cbb05a26252c1f2a Mon Sep 17 00:00:00 2001 From: William JCM Date: Mon, 21 Nov 2022 09:47:21 +0100 Subject: [PATCH] Main: Improve some dialogs. --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 80ca33b..3d8ea00 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,13 +41,13 @@ int main(int argc, char** argv) { auto mutex_handle = CreateMutexW(nullptr, 0, L"MassBuilderSaveTool"); if(!mutex_handle) { - SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error initialising the app", - "There was an error initialising the mutex.",nullptr); + SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error", + "There was an error initialising the single-instance checker.",nullptr); return EXIT_FAILURE; } if(GetLastError() == ERROR_ALREADY_EXISTS) { - SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error initialising the app", + SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error", "There can be only one running instance of the application.",nullptr); return EXIT_FAILURE; }