Typo fix.
[super-star-trek.git] / src / sst.py
index 501b40750c9e2d502eb2b3c3060fb462825cfebf..caf6b6e855b084b4148c1bf731a4d072f1bd02bd 100644 (file)
@@ -9,7 +9,7 @@ and Paul Reynolds, with modifications by Don Smith, Tom Almy,
 Stas Sergeev, and Eric S. Raymond.
 
 See the doc/HACKING file in the distribution for designers notes and advice
-ion how to modify (and how not to modify!) this code.
+on how to modify (and how not to modify!) this code.
 """
 import os, sys, math, curses, time, readline, cPickle, random, copy, gettext, getpass
 
@@ -3919,7 +3919,6 @@ def setwarp():
             break
        scanner.chew()
        proutn(_("Warp factor- "))
-    scanner.chew()
     if key != "IHREAL":
        huh()
        return
@@ -4785,7 +4784,7 @@ def report():
     scanner.chew()
     s1 = "" and game.thawed and _("thawed ")
     s2 = {1:"short", 2:"medium", 4:"long"}[game.length]
-    s3 = (None, _("novice"). _("fair"),
+    s3 = (None, _("novice"), _("fair"),
           _("good"), _("expert"), _("emeritus"))[game.skill]
     prout(_("You %s a %s%s %s game.") % ((_("were playing"), _("are playing"))[game.alldone], s1, s2, s3))
     if game.skill>SKILL_GOOD and game.thawed and not game.alldone:
@@ -5748,7 +5747,7 @@ def setpassword():
                break
     else:
         game.passwd = ""
-        for i in range(8):
+        for i in range(3):
            game.passwd += chr(ord('a')+randrange(26))
 
 # Code from sst.c begins here