OSDN Git Service

"strchr" -> "my_strchr".
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 10 Aug 2004 19:50:13 +0000 (19:50 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 10 Aug 2004 19:50:13 +0000 (19:50 +0000)
src/files.c

index c68d143..63275ba 100644 (file)
@@ -957,13 +957,13 @@ cptr process_pref_file_expr(char **sp, char *fp)
        {
                /* Accept all printables except spaces and brackets */
 #ifdef JP
-               while ((iskanji(*s) || isprint(*s)) && !strchr(" []", *s))
+               while ((iskanji(*s) || isprint(*s)) && !my_strchr(" []", *s))
                {
                        if (iskanji(*s)) s++;
                        s++;
                }
 #else
-               while (isprint(*s) && !strchr(" []", *s)) ++s;
+               while (isprint(*s) && !my_strchr(" []", *s)) ++s;
 #endif
 
                /* Extract final and Terminate */