libedit: add missing bracket.

We never hit this because we always build with widechar support.

Reported by:	cognet
MFC after:	3 days
This commit is contained in:
pfg 2017-09-13 16:13:14 +00:00
parent 60fea4eba0
commit 8b9ca7cc8f

View File

@ -223,6 +223,7 @@ ct_mbrtowc(wchar_t *wc, const char *s, size_t n)
size_t
ct_mbrtowc(wchar_t *wc, const char *s, size_t n)
{
if (s == NULL)
return 0;
if (n == 0)