fix assert

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2005-01-03 21:34:55 +00:00
parent f647c48035
commit 2524a70a49

View File

@ -2506,7 +2506,7 @@ void nanoget_repaint(const char *buf, const char *inputbuf, size_t x)
FALSE);
assert(wid > 0);
assert(strlen(expanded) <= wid);
assert(strlenpt(expanded) <= wid);
waddstr(bottomwin, expanded);
free(expanded);