Skip to content
Snippets Groups Projects
Commit 194d0bb3 authored by rswindell's avatar rswindell
Browse files

Bug-fix: don't pad the "filespec" argument to bbs.list_files() if the

FL_EXFIND mode bit is set. <sigh>
parent 3196af58
No related branches found
No related tags found
No related merge requests found
......@@ -2234,7 +2234,7 @@ js_listfiles(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
}
}
if(!(mode&FL_FINDDESC))
if(!(mode&(FL_FINDDESC|FL_EXFIND)))
fspec=padfname(fspec,buf);
*rval = INT_TO_JSVAL(sbbs->listfiles(dirnum,fspec,0 /* tofile */,mode));
......
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