diff options
author | ache <ache@FreeBSD.org> | 2002-08-19 20:12:38 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-08-19 20:12:38 +0000 |
commit | 53166ba7d82cad3a6b666a6d00d2de0a1c8ce188 (patch) | |
tree | cab680f0c9040ad48c0653735e931fbede74ba64 /lib/libc | |
parent | 355d213f69efd3025a8c631070cc90487dc6dbb4 (diff) | |
download | FreeBSD-src-53166ba7d82cad3a6b666a6d00d2de0a1c8ce188.zip FreeBSD-src-53166ba7d82cad3a6b666a6d00d2de0a1c8ce188.tar.gz |
Write null wide-character as L'\0' like in other places
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/locale/wcwidth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/wcwidth.c b/lib/libc/locale/wcwidth.c index b2d70a5..ea9fa84 100644 --- a/lib/libc/locale/wcwidth.c +++ b/lib/libc/locale/wcwidth.c @@ -54,7 +54,7 @@ wcwidth(wc) { int width; - if (wc == 0) + if (wc == L'\0') return (0); width = __maskrune(wc, _CTYPE_SWM); |