git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2738 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2005-06-20 21:03:57 +00:00
parent e0a0d23f78
commit d7cf373358
1 changed files with 2 additions and 2 deletions

View File

@ -222,9 +222,9 @@ char *control_mbrep(const char *c, char *crep, int *crep_len)
*crep_len = wctomb(crep, control_wrep(wc));
if (*crep_mb_len <= 0) {
if (*crep_len <= 0) {
wctomb(NULL, 0);
*crep_mb_len = 0;
*crep_len = 0;
}
} else {
#endif