From 40d4c16ea099f039b3fbe26685673ad478cc5e41 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 31 Jul 2002 09:43:23 +0000 Subject: [PATCH] increased name limit on engineversion string from 39 chars to 127, this fixed a bug in windows builds where the string was too long for the buffer... also shortened the string itself to no longer mention 'GL' or 'build' git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2140 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_shared.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys_shared.c b/sys_shared.c index 307c400b..0753133c 100644 --- a/sys_shared.c +++ b/sys_shared.c @@ -102,16 +102,16 @@ void Sys_Printf (char *fmt, ...) #endif } -char engineversion[40]; +char engineversion[128]; void Sys_Shared_EarlyInit(void) { #if defined(__linux__) - sprintf (engineversion, "%s Linux GL build %s", gamename, buildstring); + sprintf (engineversion, "%s Linux %s", gamename, buildstring); #elif defined(WIN32) - sprintf (engineversion, "%s Windows GL build %s", gamename, buildstring); + sprintf (engineversion, "%s Windows %s", gamename, buildstring); #else - sprintf (engineversion, "%s Unknown GL build %s", gamename, buildstring); + sprintf (engineversion, "%s Unknown %s", gamename, buildstring); #endif if (COM_CheckParm("-nostdout")) -- 2.39.2