diff options
author | ru <ru@FreeBSD.org> | 2002-07-22 16:52:57 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-07-22 16:52:57 +0000 |
commit | f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646 (patch) | |
tree | 69fb6353246292f64a8c7babbd9a86da48cbb4dc /contrib/texinfo/info/search.c | |
parent | 5500b59c459afe212e4ee8d1c1847e051a9b7653 (diff) | |
download | FreeBSD-src-f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646.zip FreeBSD-src-f10c49f50ce56ec7bfbe5d6c4868251e2d4a1646.tar.gz |
Import of stripped down GNU texinfo 4.2
Diffstat (limited to 'contrib/texinfo/info/search.c')
-rw-r--r-- | contrib/texinfo/info/search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/texinfo/info/search.c b/contrib/texinfo/info/search.c index 2866704..0e48cea 100644 --- a/contrib/texinfo/info/search.c +++ b/contrib/texinfo/info/search.c @@ -1,5 +1,5 @@ /* search.c -- searching large bodies of text. - $Id: search.c,v 1.5 1999/03/05 19:56:59 karl Exp $ + $Id: search.c,v 1.6 2002/03/23 20:45:24 karl Exp $ Copyright (C) 1993, 97, 98 Free Software Foundation, Inc. @@ -301,7 +301,7 @@ skip_non_whitespace (string) { register int i; - for (i = 0; string && !whitespace (string[i]); i++); + for (i = 0; string && string[i] && !whitespace (string[i]); i++); return (i); } |