diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-27 02:43:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-27 02:43:33 +0000 |
commit | 1d0650ed30e7f31816d15423520c0c06d55ce6ca (patch) | |
tree | b0277c40a70b0f6a6892368cbb556fe98b6dd1dc | |
parent | df74e0b21263837c8712f32e2cd1666e4806fce9 (diff) |
fix a bug; steve@freebsd
-rw-r--r-- | games/number/number.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/games/number/number.c b/games/number/number.c index d49a00dbbbe..127f216dbb0 100644 --- a/games/number/number.c +++ b/games/number/number.c @@ -174,6 +174,7 @@ badnum: errx(1, "illegal number: %s", line); if (*line == '-') { (void)printf("minus%s", lflag ? " " : "\n"); ++line; + --len; } rval = len > 0 ? unit(len, line) : 0; |