Typo fix.
[super-star-trek.git] / src / sst.py
index 56a59cd8dc8b8e8ce2365f359f8cf3f38e8071fc..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
 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
 
 """
 import os, sys, math, curses, time, readline, cPickle, random, copy, gettext, getpass
 
@@ -3919,7 +3919,6 @@ def setwarp():
             break
        scanner.chew()
        proutn(_("Warp factor- "))
             break
        scanner.chew()
        proutn(_("Warp factor- "))
-    scanner.chew()
     if key != "IHREAL":
        huh()
        return
     if key != "IHREAL":
        huh()
        return
@@ -5748,7 +5747,7 @@ def setpassword():
                break
     else:
         game.passwd = ""
                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
            game.passwd += chr(ord('a')+randrange(26))
 
 # Code from sst.c begins here