diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/term.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -309,7 +309,6 @@ static HANDLE get_console_handle(lua_State *L, int flags_optional) | |||
309 | // Lua error if the file is not one of these. | 309 | // Lua error if the file is not one of these. |
310 | static int get_console_handle(lua_State *L) | 310 | static int get_console_handle(lua_State *L) |
311 | { | 311 | { |
312 | printf("get_console_handle\n"); | ||
313 | FILE **file = (FILE **)luaL_checkudata(L, 1, LUA_FILEHANDLE); | 312 | FILE **file = (FILE **)luaL_checkudata(L, 1, LUA_FILEHANDLE); |
314 | if (file == NULL || *file == NULL) { | 313 | if (file == NULL || *file == NULL) { |
315 | return luaL_argerror(L, 1, "expected file handle"); // call doesn't return | 314 | return luaL_argerror(L, 1, "expected file handle"); // call doesn't return |