diff options
Diffstat (limited to 'Lib/stdwin/tablewin.py')
-rwxr-xr-x | Lib/stdwin/tablewin.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/stdwin/tablewin.py b/Lib/stdwin/tablewin.py index f9ab907..eba161d 100755 --- a/Lib/stdwin/tablewin.py +++ b/Lib/stdwin/tablewin.py @@ -164,13 +164,13 @@ def whichcol(w, h): # Return column number (may be >= len(w.data)) return len(w.data) def arrow(w, type): - if type = WC_LEFT: + if type == WC_LEFT: incr = -1, 0 - elif type = WC_UP: + elif type == WC_UP: incr = 0, -1 - elif type = WC_RIGHT: + elif type == WC_RIGHT: incr = 1, 0 - elif type = WC_DOWN: + elif type == WC_DOWN: incr = 0, 1 else: return |