Changeset e492d5e


Ignore:
Timestamp:
Sep 13, 2014 6:21:58 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
cd2159b8
Parents:
9a0f649
Message:

fixup remaining field on details page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r9a0f649 re492d5e  
    27652765                buf.append('0');
    27662766            }
     2767            // not including skipped files, but -1 when not running
    27672768            long needed = snark.getNeededLength();
    2768             if (needed > 0)
     2769            if (needed < 0) {
     2770                // including skipped files, valid when not running
     2771                needed = snark.getRemainingLength();
     2772            }
     2773            if (needed > 0) {
    27692774                buf.append("&nbsp;");
    27702775                toThemeImg(buf, "head_rx");
     
    27732778                   .append(":</b> ")
    27742779                   .append(formatSize(needed));
     2780            }
    27752781            if (meta != null) {
    27762782                List<List<String>> files = meta.getFiles();
Note: See TracChangeset for help on using the changeset viewer.