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
Branches
Tags
No related merge requests found
...@@ -308,10 +308,19 @@ function Filemenu() ...@@ -308,10 +308,19 @@ function Filemenu()
format_opt("|List Dir ("+file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].name+")",width,false) format_opt("|List Dir ("+file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].name+")",width,false)
,"L",width ,"L",width
); );
if (bbs.new_file_time == 0) {
{
this.add(
format_opt("Scan for |New Files")
,"N",width
);
}
else {
this.add( this.add(
format_opt("Scan for |New Files since "+scantime,width,true) format_opt("Scan for |New Files since "+scantime,width,true)
,"N",width ,"N",width
); );
}
this.add( this.add(
format_opt("Search for |Filenames",width,true) format_opt("Search for |Filenames",width,true)
,"F",width ,"F",width
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment