提交 736c4655 编写于 作者: H Hiroshi Inoue

a fix from Eiji Tokuya.

上级 cfbd8a78
......@@ -15,7 +15,7 @@ int multibyte_status ; /* Multibyte Odds and ends character. */
unsigned char *multibyte_strchr(unsigned char *s,unsigned char c)
{
int mb_st = 0 ,i = 0;
while (!(mb_st == 0 && s[i] == c || s[i] == 0))
while (!(mb_st == 0 && (s[i] == c || s[i] == 0)))
{
if (s[i] == 0)
return (0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册