sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 9b762894a7c29b88d229142b5805d1aa01a1cc9b
parent ec0aa7da7d5c82ca06cfc2617b4b7331cd3a1008
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue May 19 21:48:10 +0200

fold: check form -n aswell, > 0

Diffstat:
fold.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fold.c b/fold.c @@ -85,7 +85,7 @@ main(int argc, char *argv[]) width = estrtonum(EARGF(usage()), 1, MIN(LLONG_MAX, SIZE_MAX)); break; ARGNUM: - width = ARGNUMF(); + width = estrtonum(argv[0], 1, MIN(LLONG_MAX, SIZE_MAX)); break; default: usage();