aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2024-05-22 21:26:23 +0200
committerThijs Schreijer <thijs@thijsschreijer.nl>2024-05-22 21:26:23 +0200
commitb1e250a00406f5268a773f7923bb14708567ce9f (patch)
tree87e4a0af6edbe3ae0a293c37167dfa1713e7ebf1 /src
parent14c0f9e3b2587411d4261cb7771bdce6931b31d5 (diff)
downloadluasystem-b1e250a00406f5268a773f7923bb14708567ce9f.tar.gz
luasystem-b1e250a00406f5268a773f7923bb14708567ce9f.tar.bz2
luasystem-b1e250a00406f5268a773f7923bb14708567ce9f.zip
drop debug line
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