23 lines
697 B
Diff
23 lines
697 B
Diff
From f3faeeff3fbe3bf9e30ed4461c2c8d0466966e56 Mon Sep 17 00:00:00 2001
|
|
From: Peng Wu <alexepico@gmail.com>
|
|
Date: Mon, 6 Jul 2020 09:59:05 +0800
|
|
Subject: [PATCH] fixes lmyoslib.c
|
|
|
|
---
|
|
lua/lmyoslib.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
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);
|