提交 d8e8f146 编写于 作者: R rofl0r

iswspace: fix handling of 0

上级 35cf8b3e
...@@ -14,6 +14,5 @@ int iswspace(wint_t wc) ...@@ -14,6 +14,5 @@ int iswspace(wint_t wc)
0x2006, 0x2008, 0x2009, 0x200a, 0x2006, 0x2008, 0x2009, 0x200a,
0x2028, 0x2029, 0x205f, 0x3000, 0 0x2028, 0x2029, 0x205f, 0x3000, 0
}; };
if (wcschr(spaces, wc)) return 1; return wc && wcschr(spaces, wc);
return 0;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册