- fixed some Linux issues with recent changes.

This commit is contained in:
Christoph Oelckers 2014-05-14 14:08:14 +02:00
commit 2944e4f6ae
3 changed files with 3 additions and 7 deletions

View file

@ -172,11 +172,7 @@ static int DoomSpecificInfo (char *buffer, char *end)
}
else
{
char name[9];
strncpy (name, level.mapname, 8);
name[8] = 0;
p += snprintf (buffer+p, size-p, "\n\nCurrent map: %s", name);
p += snprintf (buffer+p, size-p, "\n\nCurrent map: %s", level.MapName);
if (!viewactive)
{