From 064916ea5f60c7da4c81e9d8fab1304b31344c2c Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 11 Mar 2000 14:16:55 +0000 Subject: [PATCH] Robert de Bath's patch: ARG_DEFAULT is now zero because it's 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 ... :-( git-svn-id: svn://svn.tartarus.org/sgt/putty@406 cda61777-01e9-0310-a592-d414129be87e --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index b0cc3548..636b5dd9 100644 --- a/terminal.c +++ b/terminal.c @@ -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 0 /* 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; -- 2.11.0