Fix a float format.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 1 Nov 2004 17:55:06 +0000 (17:55 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 1 Nov 2004 17:55:06 +0000 (17:55 +0000)
finish.c

index 657bc51c15dbd376a26136cd2cba93d9de1637a1..7144086973e2c8cca21efc56ed33578dcfa7c15e 100644 (file)
--- a/finish.c
+++ b/finish.c
@@ -341,7 +341,7 @@ void score(void) {
                prout("%6d Super-Commander destroyed          %5d",\r
                           game.state.nsckill, 200*game.state.nsckill);\r
        if (ithperd)\r
-               prout("%6.2f Klingons per stardate              %5d",\r
+               prout("%.2f Klingons per stardate              %5d",\r
                           perdate, ithperd);\r
        if (game.state.starkl)\r
                prout("%6d stars destroyed by your action     %5d",\r