sleeby....
This commit is contained in:
alufolie91 committed 2026-07-08 20:37:16 +02:00
1 parent b6b70ae8f0
commit 29159ca5cd
1 file changed
+6 -6
+6 -6
View File
@@ -1711,8 +1711,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;
@@ -1738,11 +1736,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)