Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (3 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/interface/statuslinectrl.cpp

    r130 r3185  
    9292        }
    9393
    94         duration elapsed;
     94        fz::duration elapsed;
    9595        int left = -1;
    9696        wxFileOffset rate;
     
    120120
    121121                int elapsed_milli_seconds = 0;
    122                 if (status_.started.IsValid()) {
    123                         elapsed = CDateTime::Now() - status_.started;
     122                if (status_.started.empty()) {
     123                        elapsed = fz::datetime::now() - status_.started;
    124124                        elapsed_milli_seconds = static_cast<int>(elapsed.get_milliseconds()); // Assume it doesn't overflow
    125125                }
     
    344344        wxString text;
    345345        if (permill > 1000) {
    346                 text = _T("> 100.0%%");
     346                text = _T("> 100.0%");
    347347        }
    348348        else {
Note: See TracChangeset for help on using the changeset viewer.