Changeset 13995


Ignore:
Timestamp:
Feb 9, 2013, 1:09:32 PM (8 years ago)
Author:
jordan
Message:

(2.7x) fix Qt Formatter error when displaying unknown file/mem sizes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7x/qt/formatter.cc

    r13919 r13995  
    9595Formatter :: memToString( int64_t bytes )
    9696{
    97     if( bytes < 1 )
     97    if( bytes < 0 )
    9898        return tr( "Unknown" );
    9999    else if( !bytes )
     
    109109Formatter :: sizeToString( int64_t bytes )
    110110{
    111     if( bytes < 1 )
     111    if( bytes < 0 )
    112112        return tr( "Unknown" );
    113113    else if( !bytes )
Note: See TracChangeset for help on using the changeset viewer.