From: David Lawrence Ramsey Date: Wed, 5 Jul 2006 04:04:30 +0000 (+0000) Subject: another miscellaneous minor fix X-Git-Tag: v1.9.99pre1~114 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ca53a6e35a8c6d5bb06503a9c2bae4617395a82e;p=nano.git another miscellaneous minor fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3747 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/browser.c b/src/browser.c index 3932a956..1fe963aa 100644 --- a/src/browser.c +++ b/src/browser.c @@ -695,7 +695,7 @@ void browser_refresh(void) /* Make sure foo takes up no more than foomaxlen columns. */ foolen = strlenpt(foo); if (foolen > foomaxlen) { - null_at(&foo, foomaxlen); + null_at(&foo, actual_x(foo, foomaxlen)); foolen = foomaxlen; }