summaryrefslogtreecommitdiff
path: root/src/lua5
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua5')
-rw-r--r--src/lua5/cdlua5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua5/cdlua5.c b/src/lua5/cdlua5.c
index db22422..7b7b617 100644
--- a/src/lua5/cdlua5.c
+++ b/src/lua5/cdlua5.c
@@ -1763,7 +1763,7 @@ static void setinfo (lua_State *L)
lua_settable (L, -3);
lua_pushliteral (L, "_VERSION");
- lua_pushliteral (L, CD_VERSION);
+ lua_pushstring (L, cdVersion());
lua_settable (L, -3);
lua_pushliteral (L, "_VERSION_DATE");
@@ -1771,7 +1771,7 @@ static void setinfo (lua_State *L)
lua_settable (L, -3);
lua_pushliteral (L, "_VERSION_NUMBER");
- lua_pushinteger(L, CD_VERSION_NUMBER);
+ lua_pushinteger(L, cdVersionNumber());
lua_settable (L, -3);
}