20 lines
590 B
Diff
20 lines
590 B
Diff
commit f3faeeff3fbe3bf9e30ed4461c2c8d0466966e56
|
|
Author: Peng Wu <alexepico@gmail.com>
|
|
Date: Mon Jul 6 09:59:05 2020 +0800
|
|
|
|
fixes lmyoslib.c
|
|
|
|
diff --git a/lua/lmyoslib.c b/lua/lmyoslib.c
|
|
index 868fc56..fc6a24b 100644
|
|
--- a/lua/lmyoslib.c
|
|
+++ b/lua/lmyoslib.c
|
|
@@ -57,7 +57,7 @@ static int getfield (lua_State *L, const char *key, int d) {
|
|
res = (int)lua_tointeger(L, -1);
|
|
else {
|
|
if (d < 0)
|
|
- return luaL_error(L, "field " LUA_QS " missing in date table", key);
|
|
+ return luaL_error(L, "field '%s' missing in date table", key);
|
|
res = d;
|
|
}
|
|
lua_pop(L, 1);
|