aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/term.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 10b3e25..18e6acb 100644
--- a/src/term.c
+++ b/src/term.c
@@ -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.
310static int get_console_handle(lua_State *L) 310static int get_console_handle(lua_State *L)
311{ 311{
312printf("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