From 5d03c68450ed2d65b9fcbc6a8756b6223304f11c Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 24 Sep 1993 12:22:09 +0000 Subject: Replaced index/rindex with strchr/strrchr (ANSI) --- lib/ZVariables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ZVariables.c') 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++; -- cgit v1.2.3