(do_pragma): Use index, not strchr.

From-SVN: r2880
This commit is contained in:
Richard Stallman 1992-12-16 04:25:58 +00:00
parent b84f9d9cd2
commit 91216286cd

View File

@ -5924,7 +5924,7 @@ do_pragma (buf, limit)
return 0;
fname = p + 1;
if (p = (U_CHAR *) strchr (fname, '\"'))
if (p = (U_CHAR *) index (fname, '\"'))
*p = '\0';
for (ptr = all_include_files; ptr; ptr = ptr->next) {