Commit 2524a70a authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

fix assert

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment