Correct if condition

This commit is contained in:
Daniel Imms
2016-07-04 12:15:47 -07:00
parent 87c9370e8c
commit 05041722f1
+2 -2
View File
@@ -2858,8 +2858,8 @@
// scroll up
this.ybase--;
addToY++
if (this.ydisp === 0) {
// Viewport is at the top of the buffer, much increase downwards
if (this.ydisp > 0) {
// Viewport is at the top of the buffer, must increase downwards
this.ydisp--;
}
} else {