diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-05-22 21:26:23 +0200 |
|---|---|---|
| committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-05-22 21:26:23 +0200 |
| commit | b1e250a00406f5268a773f7923bb14708567ce9f (patch) | |
| tree | 87e4a0af6edbe3ae0a293c37167dfa1713e7ebf1 | |
| parent | 14c0f9e3b2587411d4261cb7771bdce6931b31d5 (diff) | |
| download | luasystem-b1e250a00406f5268a773f7923bb14708567ce9f.tar.gz luasystem-b1e250a00406f5268a773f7923bb14708567ce9f.tar.bz2 luasystem-b1e250a00406f5268a773f7923bb14708567ce9f.zip | |
drop debug line
| -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 |
