(trunk daemon) fix minor text formatting bug when the ETA is being shown in seconds

This commit is contained in:
Jordan Lee 2011-03-30 23:11:10 +00:00
parent 7e21116e3c
commit e8c22599cb
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ etaToString( char * buf, size_t buflen, int64_t eta )
if( eta < 0 )
tr_snprintf( buf, buflen, "Unknown" );
else if( eta < 60 )
tr_snprintf( buf, buflen, "%" PRId64 "sec", eta );
tr_snprintf( buf, buflen, "%" PRId64 " sec", eta );
else if( eta < ( 60 * 60 ) )
tr_snprintf( buf, buflen, "%" PRId64 " min", eta / 60 );
else if( eta < ( 60 * 60 * 24 ) )