Fix arguments
This commit is contained in:
parent
72e3afa3dd
commit
1f83c82a2d
|
@ -41,7 +41,7 @@ static int file_close( lua_State* L )
|
|||
static int file_open( lua_State* L )
|
||||
{
|
||||
size_t len;
|
||||
file_close();
|
||||
file_close(L);
|
||||
|
||||
const char *fname = luaL_checklstring( L, 1, &len );
|
||||
if( len > FS_NAME_MAX_LENGTH )
|
||||
|
|
Loading…
Reference in New Issue