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:
parent
e7603f2b21
commit
ea7094ecb1
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user