From ca53a6e35a8c6d5bb06503a9c2bae4617395a82e Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 5 Jul 2006 04:04:30 +0000
Subject: [PATCH] another miscellaneous minor fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3747 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 src/browser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 	}
 
-- 
GitLab