1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00

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
... :-(

[originally from svn r406]
This commit is contained in:
Simon Tatham 2000-03-11 14:16:55 +00:00
parent dbc12bdd58
commit 30ee1109f1

View 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 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;