From 68361d51b1ef5b004217ffbfa774dda6afd0b59f Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Mon, 26 Apr 2010 16:55:14 +0000 Subject: [PATCH] sys_sdl.c (Sys_Error): made text3, text4 and text5 into const char arrays. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@155 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/sys_sdl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Quake/sys_sdl.c b/Quake/sys_sdl.c index ac9026f3..8a5f2c9d 100644 --- a/Quake/sys_sdl.c +++ b/Quake/sys_sdl.c @@ -161,9 +161,9 @@ void Sys_Error (const char *error, ...) { va_list argptr; char text[1024], text2[1024]; - char *text3 = "Press Enter to exit\n"; - char *text4 = "***********************************\n"; - char *text5 = "\n"; + const char text3[] = "Press Enter to exit\n"; + const char text4[] = "***********************************\n"; + const char text5[] = "\n"; double starttime; static int in_sys_error1 = 0; static int in_sys_error2 = 0;