Clean up script run interaction text

This commit is contained in:
Martin Lund 2024-06-15 15:58:08 +02:00
parent be4fc0908f
commit 8f77ad5830
4 changed files with 13 additions and 6 deletions

View file

@ -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;
}