Skip to content
Snippets Groups Projects
Commit 21138cb2 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Actually use the new FREE text.dat string in file listings

parent 35d5818b
No related branches found
No related tags found
No related merge requests found
Pipeline #6111 passed
...@@ -402,7 +402,7 @@ bool sbbs_t::listfile(file_t* f, const int dirnum, const char *search, const ch ...@@ -402,7 +402,7 @@ bool sbbs_t::listfile(file_t* f, const int dirnum, const char *search, const ch
if(useron.misc&BATCHFLAG) { if(useron.misc&BATCHFLAG) {
if(!cdt && !(cfg.dir[dirnum]->misc&DIR_FREE)) { if(!cdt && !(cfg.dir[dirnum]->misc&DIR_FREE)) {
attr(curatr^(HIGH|BLINK)); attr(curatr^(HIGH|BLINK));
bputs(" FREE"); bprintf("%6s", text[FREE]);
} }
else else
bprintf("%6s", bytes); bprintf("%6s", bytes);
...@@ -410,7 +410,7 @@ bool sbbs_t::listfile(file_t* f, const int dirnum, const char *search, const ch ...@@ -410,7 +410,7 @@ bool sbbs_t::listfile(file_t* f, const int dirnum, const char *search, const ch
else { else {
if(!cdt && !(cfg.dir[dirnum]->misc&DIR_FREE)) { /* FREE file */ if(!cdt && !(cfg.dir[dirnum]->misc&DIR_FREE)) { /* FREE file */
attr(curatr^(HIGH|BLINK)); attr(curatr^(HIGH|BLINK));
bputs(" FREE"); bprintf("%7s", text[FREE]);
} }
else else
bprintf("%7s", bytes); bprintf("%7s", bytes);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment