]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Robert de Bath's patch: ARG_DEFAULT is now zero because it's
authorSimon Tatham <anakin@pobox.com>
Sat, 11 Mar 2000 14:16:55 +0000 (14:16 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 11 Mar 2000 14:16:55 +0000 (14:16 +0000)
apparently defined behaviour for _all_ CSI-type sequences that ESC[Q
should be equivalent to ESC[0Q. Which is a pain in the wossname and
not a sane way to do it, but if the standards say it then I suppose
... :-(

[originally from svn r406]

terminal.c

index b0cc3548b5f013a0402b1fb4266ee8dc7195dd02..636b5dd9b95f2c537401dd5c8c70699edeaa5979 100644 (file)
@@ -41,7 +41,7 @@ static int alt_t, alt_b;
 static int alt_which;
 
 #define ARGS_MAX 32                   /* max # of esc sequence arguments */
-#define ARG_DEFAULT -1                /* if an arg isn't specified */
+#define ARG_DEFAULT                 /* if an arg isn't specified */
 #define def(a,d) ( (a) == ARG_DEFAULT ? (d) : (a) )
 static int esc_args[ARGS_MAX];
 static int esc_nargs;