1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-24 16:10:11 +00:00

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:
Pedro F. Giffuni 2017-09-13 16:13:14 +00:00
parent 2934eb8a22
commit cf7df9f141
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323547

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)