(do_pragma): Use index, not strchr.
From-SVN: r2880
This commit is contained in:
parent
b84f9d9cd2
commit
91216286cd
@ -5924,7 +5924,7 @@ do_pragma (buf, limit)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fname = p + 1;
|
fname = p + 1;
|
||||||
if (p = (U_CHAR *) strchr (fname, '\"'))
|
if (p = (U_CHAR *) index (fname, '\"'))
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
|
|
||||||
for (ptr = all_include_files; ptr; ptr = ptr->next) {
|
for (ptr = all_include_files; ptr; ptr = ptr->next) {
|
||||||
|
Loading…
Reference in New Issue
Block a user