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

Displays FREE for instead of 0-credits in file listing.

parent 0f382e20
Branches
Tags
No related merge requests found
......@@ -195,7 +195,10 @@ if(file.length) {
/* size */
write("<TD valign=top align=right>" + dat_font + "<font color=black>");
if(curdir.misc!=undefined && !(curdir.misc&DIR_FREE)) {
write(kbytes(file[i].credits));
if(!file[i].credits)
write("<font color=white><b>FREE");
else
write(kbytes(file[i].credits));
total_bytes+=file[i].credits;
} else {
write(kbytes(file[i].size));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment