summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ldblib.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldblib.js b/src/ldblib.js
index 90f08cd..91dd980 100644
--- a/src/ldblib.js
+++ b/src/ldblib.js
@@ -139,8 +139,8 @@ const db_getinfo = function(L) {
if (options.indexOf('S'.charCodeAt(0)) > -1) {
settabss(L, lua.to_luastring("source", true), ar.source);
settabss(L, lua.to_luastring("short_src", true), ar.short_src);
- settabss(L, lua.to_luastring("linedefined", true), lua.to_luastring(`${ar.linedefined}`));
- settabss(L, lua.to_luastring("lastlinedefined", true), lua.to_luastring(`${ar.lastlinedefined}`));
+ settabsi(L, lua.to_luastring("linedefined", true), ar.linedefined);
+ settabsi(L, lua.to_luastring("lastlinedefined", true), ar.lastlinedefined);
settabss(L, lua.to_luastring("what", true), ar.what);
}
if (options.indexOf('l'.charCodeAt(0)) > -1)