From f7164ee8314fc7dcb9fee4afcfae7c3673dde309 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 8 Jul 2026 20:37:09 +0200 Subject: [PATCH] whoopsie sleeby.... --- src/sdl/i_system.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/sdl/i_system.cpp b/src/sdl/i_system.cpp index fa2b8657b..be4b7723e 100644 --- a/src/sdl/i_system.cpp +++ b/src/sdl/i_system.cpp @@ -1717,8 +1717,6 @@ int I_OpenURL(const char *url) static void I_ShowErrorBox(const char *title, const char *msg) { - int url = -1; - if (M_CheckParm("-dedicated")) return; @@ -1744,11 +1742,13 @@ static void I_ShowErrorBox(const char *title, const char *msg) SDL_ShowMessageBox(&messageboxdata, &buttonid); if (buttonid == 1) - url = I_OpenURL(SATURNISSUEPAGE); + { + int url = I_OpenURL(SATURNISSUEPAGE); - // SDL_OpenURL unsupported or failed - if (url == -1) - SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Failed to Open Web Page", "Please open the following page in your web browser:\n" SATURNISSUEPAGE, NULL); + // SDL_OpenURL unsupported or failed + if (url == -1) + SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Failed to Open Web Page", "Please open the following page in your web browser:\n" SATURNISSUEPAGE, NULL); + } } static void I_ShowSimpleErrorBox(const char *title, char *msg)