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:
parent
2934eb8a22
commit
cf7df9f141
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323547
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user