Changeset 11650
- Timestamp:
- Jan 9, 2011, 7:24:27 PM (12 years ago)
- Location:
- trunk/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/NSStringAdditions.m
r11649 r11650 190 190 convertedSize = size / baseFloat; 191 191 unit = NSLocalizedString(@"KB", "File size - kilobytes"); 192 decimals = 0;192 decimals = convertedSize >= 10.0 ? 0 : 1; 193 193 } 194 194 else if (size < pow(baseInt, 3)) -
trunk/macosx/Torrent.m
r11649 r11650 1206 1206 1207 1207 default: 1208 NSAssert1(NO, @"Unknown activity %d for stat isstring", fStat->activity);1208 NSAssert1(NO, @"Unknown activity %d for state string", fStat->activity); 1209 1209 return nil; 1210 1210 }
Note: See TracChangeset
for help on using the changeset viewer.