From 282a21e5c300c702fe833851f61d1e591e709e99 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Thu, 21 May 2020 15:02:54 +0000 Subject: [PATCH] Make Sys_Error message more generic. Quake -> Engine git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12551 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_linux.c | 2 +- sys_sdl.c | 4 ++-- sys_win.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys_linux.c b/sys_linux.c index ac2ea616..d923021c 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -39,7 +39,7 @@ void Sys_Error (const char *error, ...) dpvsnprintf (string, sizeof (string), error, argptr); va_end (argptr); - Con_Printf ("Quake Error: %s\n", string); + Con_Printf ("Engine Error: %s\n", string); Host_Shutdown (); exit (1); diff --git a/sys_sdl.c b/sys_sdl.c index e63c85ba..88369e1f 100644 --- a/sys_sdl.c +++ b/sys_sdl.c @@ -60,10 +60,10 @@ void Sys_Error (const char *error, ...) dpvsnprintf (string, sizeof (string), error, argptr); va_end (argptr); - Con_Printf ("Quake Error: %s\n", string); + Con_Printf ("Engine Error: %s\n", string); #ifdef WIN32 - MessageBox(NULL, string, "Quake Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP); + MessageBox(NULL, string, "Engine Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP); #endif Host_Shutdown (); diff --git a/sys_win.c b/sys_win.c index 0259a02a..c02cdbb6 100644 --- a/sys_win.c +++ b/sys_win.c @@ -64,7 +64,7 @@ void Sys_Error (const char *error, ...) dpvsnprintf (text, sizeof (text), error, argptr); va_end (argptr); - Con_Printf ("Quake Error: %s\n", text); + Con_Printf ("Engine Error: %s\n", text); // close video so the message box is visible, unless we already tried that if (!in_sys_error0 && cls.state != ca_dedicated) @@ -76,7 +76,7 @@ void Sys_Error (const char *error, ...) if (!in_sys_error3 && cls.state != ca_dedicated) { in_sys_error3 = true; - MessageBox(NULL, text, "Quake Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP); + MessageBox(NULL, text, "Engine Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP); } if (!in_sys_error1) -- 2.39.2