This commit is contained in:
Kris Maglione committed 2008-12-08 10:23:31 -05:00
1 parent d1c6283bc1
commit 1b863fa315
1 file changed
+1 -1
+1 -1
View File
@@ -122,7 +122,7 @@ function CommandLine() //{{{
while (true)
{
this.index += diff;
if (this.index < 0 && this.index > this.store.length)
if (this.index < 0 || this.index > this.store.length)
{
this.index = Math.max(0, Math.min(this.store.length, this.index));
liberator.beep();