From 2524a70a49e1bdc00305d49550448ee1dcb39a66 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 3 Jan 2005 21:34:55 +0000 Subject: [PATCH] fix assert git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/winio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index a4df2577..54aeaf27 100644 --- a/src/winio.c +++ b/src/winio.c @@ -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); -- 2.39.5