1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[spidermonkey] Show version of mozjs in About dialog

This commit is contained in:
Witold Filipczyk 2022-09-11 13:42:40 +02:00
parent e7603f2b21
commit ea7094ecb1

View File

@ -122,9 +122,14 @@ reported:
JS_ClearPendingException(ctx);
}
static char spidermonkey_version[32];
static void
spidermonkey_init(struct module *xxx)
spidermonkey_init(struct module *module)
{
snprintf(spidermonkey_version, 31, "mozjs %s", JS_GetImplementationVersion());
module->name = spidermonkey_version;
js_module_init_ok = spidermonkey_runtime_addref();
}