Skip to content
Snippets Groups Projects
Commit ecf19780 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Since datestr() now can return "Never" avoid calling datestr with 0.

"Scan for New Files since Never" is gibberish.
parent 437f8712
No related branches found
No related tags found
No related merge requests found
......@@ -308,10 +308,19 @@ function Filemenu()
format_opt("|List Dir ("+file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].name+")",width,false)
,"L",width
);
this.add(
format_opt("Scan for |New Files since "+scantime,width,true)
,"N",width
);
if (bbs.new_file_time == 0) {
{
this.add(
format_opt("Scan for |New Files")
,"N",width
);
}
else {
this.add(
format_opt("Scan for |New Files since "+scantime,width,true)
,"N",width
);
}
this.add(
format_opt("Search for |Filenames",width,true)
,"F",width
......
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