fix assert
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
f647c48035
commit
2524a70a49
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue