Fixed a bug in the contracts screen, where premium and fee for passengers would be displayed incorrectly, as a result of attempting to display unsigned long longs as ints.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1313 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
869baca25a
commit
7b68d32e5f
@ -1115,8 +1115,8 @@
|
||||
<string>%@ The route is %.1f light years long, a minimum of %d jumps.</string>
|
||||
<key>contracts-@-you-will-need-to-depart-within-@-in-order-to-arrive-within-@-time</key>
|
||||
<string>%@ You will need to depart within %@, in order to arrive within %@ time.</string>
|
||||
<key>contracts-@-will-pay-d-credits-d-in-advance-and-d-credits-on-arrival</key>
|
||||
<string>%@ Will pay %d Cr: %d Cr in advance, and %d Cr on arrival.</string>
|
||||
<key>contracts-@-will-pay-llu-credits-d-in-advance-and-llu-credits-on-arrival</key>
|
||||
<string>%@ Will pay %llu Cr: %d Cr in advance, and %llu Cr on arrival.</string>
|
||||
<key>contracts-deliver-a-cargo-of-@-to-@</key>
|
||||
<string>Deliver a cargo of %@ to %@.</string>
|
||||
<key>contracts-@-the-route-is-f-light-years-long-a-minimum-of-d-jumps</key>
|
||||
|
@ -6473,7 +6473,7 @@ double estimatedTimeForJourney(double distance, int hops)
|
||||
[self shortTimeDescription:(passenger_departure_time - current_time)], [self shortTimeDescription:(passenger_arrival_time - current_time)]];
|
||||
|
||||
long_description = [NSString stringWithFormat:
|
||||
DESC(@"contracts-@-will-pay-d-credits-d-in-advance-and-d-credits-on-arrival"), long_description,
|
||||
DESC(@"contracts-@-will-pay-llu-credits-d-in-advance-and-llu-credits-on-arrival"), long_description,
|
||||
premium + fee, premium, fee];
|
||||
|
||||
NSDictionary* passenger_info_dictionary = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
|
Loading…
x
Reference in New Issue
Block a user