From 44da09f8b22f79be6a3923ebb4c18faa37048bf8 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 14 Apr 2009 09:00:06 +1000 Subject: [PATCH] Oops --- mitterlib/ui/ui_zork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitterlib/ui/ui_zork.py b/mitterlib/ui/ui_zork.py index 0d447ee..591389f 100644 --- a/mitterlib/ui/ui_zork.py +++ b/mitterlib/ui/ui_zork.py @@ -74,7 +74,7 @@ class Interface(cmd.Cmd): if line == 'current': pass elif line == 'next': - if self._cursor + 1 > len(self._message): + if self._cursor + 1 >= len(self._messages): print 'There is no next message.' print return