don't use lstring

you have space for a null terminator there...
This commit is contained in:
Inuyasha 2016-03-03 03:09:35 -08:00
parent 7349cbdbc0
commit 61a0d1bcd1
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ static int mapheaderinfo_get(lua_State *L)
else if (fastcmp(field,"nextlevel"))
lua_pushinteger(L, header->nextlevel);
else if (fastcmp(field,"musname"))
lua_pushlstring(L, header->musname, 6);
lua_pushstring(L, header->musname);
else if (fastcmp(field,"mustrack"))
lua_pushinteger(L, header->mustrack);
else if (fastcmp(field,"forcecharacter"))