]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix misparse of ESC[?9r sequence; I must find out what it _should_ do
authorSimon Tatham <anakin@pobox.com>
Wed, 7 Jul 1999 13:16:41 +0000 (13:16 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 7 Jul 1999 13:16:41 +0000 (13:16 +0000)
[originally from svn r176]

terminal.c

index 4d0e66e76353f84773b2a2e9fa26f7b2c8e9b5f9..4ecb39c60a0002a76bee6a6067471fe71c5244ed 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)