From b8052f88bd9169c734e5d8eb8bf5aea8fccdd93e Mon Sep 17 00:00:00 2001 From: sezero 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@155 af15c1b1-3010-417e-b628-4374ebc0bcbd --- quakespasm/Quake/sys_sdl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quakespasm/Quake/sys_sdl.c b/quakespasm/Quake/sys_sdl.c index ac9026f3..8a5f2c9d 100644 --- a/quakespasm/Quake/sys_sdl.c +++ b/quakespasm/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;