]> git.wh0rd.org Git - nano.git/commitdiff
fix assert
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 3 Jan 2005 21:34:55 +0000 (21:34 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 3 Jan 2005 21:34:55 +0000 (21:34 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/winio.c

index a4df2577cc29cc2a67ec68b767491c2425bd5fb3..54aeaf27bee625186267e305e7f22a0ceb54db43 100644 (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);