mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
fix ratio display error reported by pea_
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
else if (ratio <= 99.95) //10.0 to 99.9
|
||||
return [NSString localizedStringWithFormat: @"%.1f", ratio];
|
||||
else //rest are single digit
|
||||
return [NSString stringWithFormat: @"%d", ratio];
|
||||
return [NSString stringWithFormat: @"%.0f", ratio];
|
||||
}
|
||||
|
||||
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds
|
||||
|
||||
Reference in New Issue
Block a user