]> granicus.if.org Git - python/commitdiff
Fix typo (newtabwith).
authorGuido van Rossum <guido@python.org>
Wed, 20 Sep 2000 00:17:39 +0000 (00:17 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 20 Sep 2000 00:17:39 +0000 (00:17 +0000)
Tools/idle/EditorWindow.py

index d744a2e386cfb90befdae429e04c763104f0abad..5feda4b72526b23e7bd65d9cf22960d1997b8a8e 100644 (file)
@@ -674,7 +674,7 @@ class EditorWindow:
         if self.get_tabwidth() != newtabwidth:
             pixels = text.tk.call("font", "measure", text["font"],
                                   "-displayof", text.master,
-                                  "n" * newtabwith)
+                                  "n" * newtabwidth)
             text.configure(tabs=pixels)
 
 def prepstr(s):