Skip to content
Snippets Groups Projects
Commit 9f222eec authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Another place where lib_t.vdir needs to be used in place of sname

parent fc3addb6
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -322,7 +322,7 @@ JSBool js_file_area_resolve(JSContext* cx, JSObject* areaobj, jsid id)
if(!JS_SetProperty(cx, libobj, "ars", &val))
return JS_FALSE;
sprintf(vpath,"/%s/%s",p->cfg->lib[l]->sname,p->html_index_file);
sprintf(vpath,"/%s/%s",p->cfg->lib[l]->vdir,p->html_index_file);
if((js_str=JS_NewStringCopyZ(cx, vpath))==NULL)
return JS_FALSE;
val=STRING_TO_JSVAL(js_str);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment