From: Eric S. Raymond Date: Mon, 1 Nov 2004 17:55:06 +0000 (+0000) Subject: Fix a float format. X-Git-Tag: 2.0~445 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=4eae8f0df388d0f9605efc237c3d398e052685ba;p=super-star-trek.git Fix a float format. --- diff --git a/finish.c b/finish.c index 657bc51..7144086 100644 --- a/finish.c +++ b/finish.c @@ -341,7 +341,7 @@ void score(void) { prout("%6d Super-Commander destroyed %5d", game.state.nsckill, 200*game.state.nsckill); if (ithperd) - prout("%6.2f Klingons per stardate %5d", + prout("%.2f Klingons per stardate %5d", perdate, ithperd); if (game.state.starkl) prout("%6d stars destroyed by your action %5d",