From: havoc Date: Wed, 31 Jul 2002 09:43:23 +0000 (+0000) Subject: increased name limit on engineversion string from 39 chars to 127, this fixed a bug... X-Git-Tag: RELEASE_0_2_0_RC1~407 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=40d4c16ea099f039b3fbe26685673ad478cc5e41;p=xonotic%2Fdarkplaces.git 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 --- 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"))