Fix arguments

This commit is contained in:
Jiajie Chen 2015-03-08 07:39:44 +08:00
parent 72e3afa3dd
commit 1f83c82a2d
1 changed files with 1 additions and 1 deletions

View File

@ -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 )