]> granicus.if.org Git - neomutt/commit
Reset mbstate for other mbrtowc() calls returning -1
authorKevin McCarthy <kevin@8t8.us>
Fri, 8 Apr 2016 22:20:53 +0000 (15:20 -0700)
committerKevin McCarthy <kevin@8t8.us>
Fri, 8 Apr 2016 22:20:53 +0000 (15:20 -0700)
commit6ee72bb9a25170535c59e37efa23b8ec8ae1a4ce
treeb3f12d55f17c5013bb73bfe5eee050cb77dd9505
parentd1829e17e7ef6eb78512d046da389ee89a7a23c6
Reset mbstate for other mbrtowc() calls returning -1

Continue the cleanup started in changesets c8c76a6a1e61 and
a3450fd50d11.  In those changesets, a bug was occurring due to the
mbstate not being reset when mbrtowc() returned -1.

This patch fixes other callers of mbrtowc() to reset mbstate when it
returns -1.
alias.c
curs_lib.c
help.c
pager.c