Write null wide-character as L'\0' like in other places

This commit is contained in:
Andrey A. Chernov 2002-08-19 20:12:38 +00:00
parent 8815d2e899
commit 853c779d87

View File

@ -54,7 +54,7 @@ wcwidth(wc)
{
int width;
if (wc == 0)
if (wc == L'\0')
return (0);
width = __maskrune(wc, _CTYPE_SWM);