stand/interp_lua: correct errorr => error
This commit is contained in:
parent
7904418f8e
commit
bef6cd493c
@ -123,7 +123,7 @@ interp_init(void)
|
||||
if (interp_include(filename) != 0) {
|
||||
const char *errstr = lua_tostring(luap, -1);
|
||||
errstr = errstr == NULL ? "unknown" : errstr;
|
||||
printf("Startup errorr in %s:\nLUA ERROR: %s.\n", filename, errstr);
|
||||
printf("Startup error in %s:\nLUA ERROR: %s.\n", filename, errstr);
|
||||
lua_pop(luap, 1);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user