summaryrefslogtreecommitdiffstats
path: root/games/number
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-03-14 05:28:29 +0000
committerbde <bde@FreeBSD.org>2004-03-14 05:28:29 +0000
commit2edbbfbff4c8c0398be251a3bec0c6db1ec0d41c (patch)
tree30cc95c2c3fd5adab15b6263c5cc9289019ed1e2 /games/number
parent2bf225356cf9f2763f72d5a2f69fce4917533a67 (diff)
downloadFreeBSD-src-2edbbfbff4c8c0398be251a3bec0c6db1ec0d41c.zip
FreeBSD-src-2edbbfbff4c8c0398be251a3bec0c6db1ec0d41c.tar.gz
Fixed a mispelling of 0 as NULL.
Diffstat (limited to 'games/number')
-rw-r--r--games/number/number.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/number/number.c b/games/number/number.c
index f3d6a10..715de8a 100644
--- a/games/number/number.c
+++ b/games/number/number.c
@@ -133,7 +133,7 @@ convert(line)
int flen, len, rval;
char *p, *fraction;
- flen = NULL;
+ flen = 0;
fraction = NULL;
for (p = line; *p != '\0' && *p != '\n'; ++p) {
if (isblank(*p)) {
OpenPOWER on IntegriCloud