diff options
author | Richard Basch <probe@mit.edu> | 1993-09-24 12:22:09 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-09-24 12:22:09 +0000 |
commit | 5d03c68450ed2d65b9fcbc6a8756b6223304f11c (patch) | |
tree | 07f2386678481fa83b90b89b39e13bb87b25e3ec /lib/ZVariables.c | |
parent | 3e8ddd52a76f85f347de704e72fb5196956fdf5d (diff) |
Replaced index/rindex with strchr/strrchr (ANSI)
Diffstat (limited to 'lib/ZVariables.c')
-rw-r--r-- | lib/ZVariables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZVariables.c b/lib/ZVariables.c index ffa918d..e006ac6 100644 --- a/lib/ZVariables.c +++ b/lib/ZVariables.c @@ -184,7 +184,7 @@ static int varline(bfr, var) return(0); /* var is not the var in bfr ==> no match */ - cp = index(bfr, '='); + cp = strchr(bfr, '='); if (!cp) return(0); cp++; |