Scroll regions of two lines are allowed
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 10 Oct 2000 10:50:14 +0000 (10:50 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 10 Oct 2000 10:50:14 +0000 (10:50 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@700 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index 8a1d68d..a14fb9d 100644 (file)
@@ -1253,7 +1253,7 @@ static int beep_overload = 0;
                    /* VTTEST Bug 9 - if region is less than 2 lines
                     * don't change region.
                     */
-                   if (bot-top > 1) {
+                   if (bot-top > 0) {
                        marg_t = top;
                        marg_b = bot;
                        curs_x = 0;