From c7b77349a83c70ce50acae28d1ed3606cdbb8ba9 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 10 Dec 2010 22:21:56 +0000 Subject: Remove "Error:" from the message displayed by I_Error, to match Vanilla. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2210 --- src/i_system.c | 6 +++--- src/net_gui.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/i_system.c b/src/i_system.c index f37b5bec..aa7875ff 100644 --- a/src/i_system.c +++ b/src/i_system.c @@ -328,9 +328,9 @@ void I_Error (char *error, ...) // Message first. va_start(argptr, error); - fprintf(stderr, "\nError: "); + //fprintf(stderr, "\nError: "); vfprintf(stderr, error, argptr); - fprintf(stderr, "\n"); + fprintf(stderr, "\n\n"); va_end(argptr); fflush(stderr); @@ -360,7 +360,7 @@ void I_Error (char *error, ...) msgbuf, strlen(msgbuf) + 1, wmsgbuf, sizeof(wmsgbuf)); - MessageBoxW(NULL, wmsgbuf, L"Error", MB_OK); + MessageBoxW(NULL, wmsgbuf, L"" PACKAGE_NAME, MB_OK); } #endif diff --git a/src/net_gui.c b/src/net_gui.c index ed9a58e9..600b6ee8 100644 --- a/src/net_gui.c +++ b/src/net_gui.c @@ -284,7 +284,7 @@ void NET_WaitForStart(void) if (!net_client_connected) { - I_Error("Disconnected from server"); + I_Error("Lost connection to server"); } TXT_Sleep(100); -- cgit v1.2.3