]> git.wh0rd.org Git - nano.git/commitdiff
another miscellaneous minor fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 5 Jul 2006 04:04:30 +0000 (04:04 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 5 Jul 2006 04:04:30 +0000 (04:04 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3747 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/browser.c

index 3932a956a1987c32c45d9a0bc288cb7ce84713ae..1fe963aaa9415d89a7261279413de9fa77f5740e 100644 (file)
@@ -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;
        }