mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[lua] Show lua version in About dialog
This commit is contained in:
parent
4658ae9ca5
commit
0d5dbbd148
@ -711,6 +711,8 @@ do_hooks_file(LS, char *prefix, char *filename)
|
||||
mem_free(file);
|
||||
}
|
||||
|
||||
static char elluaversion[32];
|
||||
|
||||
void
|
||||
init_lua(struct module *module)
|
||||
{
|
||||
@ -741,6 +743,9 @@ init_lua(struct module *module)
|
||||
|
||||
do_hooks_file(L, CONFDIR, LUA_HOOKS_FILENAME);
|
||||
if (elinks_home) do_hooks_file(L, elinks_home, LUA_HOOKS_FILENAME);
|
||||
strncpy(elluaversion, LUA_RELEASE, 31);
|
||||
|
||||
module->name = elluaversion;
|
||||
}
|
||||
|
||||
static void free_lua_console_history_entries(void);
|
||||
|
Loading…
Reference in New Issue
Block a user