mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Clean up script run interaction text
This commit is contained in:
parent
be4fc0908f
commit
8f77ad5830
4 changed files with 13 additions and 6 deletions
|
|
@ -513,7 +513,7 @@ void script_file_run(lua_State *L, const char *filename)
|
|||
|
||||
if (luaL_dofile(L, filename))
|
||||
{
|
||||
tio_warning_printf("lua: %s\n", lua_tostring(L, -1));
|
||||
tio_warning_printf("lua: %s", lua_tostring(L, -1));
|
||||
lua_pop(L, 1); /* pop error message from the stack */
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue