Skip to content
Snippets Groups Projects
Commit eebeab10 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 765b667c
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment