%[...] did not work

This commit is contained in:
ceriel 1987-11-20 12:57:51 +00:00
parent ee3e8ed07e
commit c41f63a4c8

View file

@ -195,7 +195,7 @@ union ptr_union *argp; /* our argument list */
for (c = Xtable; c < &Xtable[128]; c++) *c = 0;
}
while (*format && *format != ']') {
Xtable[*format] = 1;
Xtable[*format++] = 1;
}
if (!*format)
goto quit;