Write null wide-character as L'\0' like in other places
This commit is contained in:
parent
8815d2e899
commit
853c779d87
@ -54,7 +54,7 @@ wcwidth(wc)
|
|||||||
{
|
{
|
||||||
int width;
|
int width;
|
||||||
|
|
||||||
if (wc == 0)
|
if (wc == L'\0')
|
||||||
return (0);
|
return (0);
|
||||||
|
|
||||||
width = __maskrune(wc, _CTYPE_SWM);
|
width = __maskrune(wc, _CTYPE_SWM);
|
||||||
|
Loading…
Reference in New Issue
Block a user