Fix misparse of ESC[?9r sequence; I must find out what it _should_ do
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 7 Jul 1999 13:16:41 +0000 (13:16 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 7 Jul 1999 13:16:41 +0000 (13:16 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@176 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index 4d0e66e..4ecb39c 100644 (file)
@@ -929,7 +929,7 @@ void term_out(void) {
                }
                break;
              case 'r':                /* set scroll margins */
-               if (esc_nargs <= 2) {
+               if (!esc_query && esc_nargs <= 2) {
                    int top, bot;
                    top = def(esc_args[0], 1) - 1;
                    if (top < 0)