Commit 9f222eec authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

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

parent fc3addb6
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment