]> git.wh0rd.org Git - nano.git/commitdiff
Another page_down tweak
authorChris Allegretta <chrisa@asty.org>
Fri, 28 Jul 2000 14:08:01 +0000 (14:08 +0000)
committerChris Allegretta <chrisa@asty.org>
Fri, 28 Jul 2000 14:08:01 +0000 (14:08 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@144 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
move.c
po/nano.pot

index 2b0933f6ffac90582163abbdc412eb29da3655e3..cb4309567502b6784ffd5c14d907c5b6ca61fabb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,10 @@ CVS code
   edit_refresh()
        - Added check for current line "running" off the screen.
          Hopefully this will not cause any recursive lockups.
+- move.c:
+  page_down()
+       - do an edit_update() at last case if we're not at the first
+         screen...
 
 nano-0.9.14 - 07/27/2000
 - nano.h:
diff --git a/move.c b/move.c
index 1f15e08149b9cbe5d257fb466b0a4e622708daf2..bff4a897c9add4b43f39c72b42d211c74379556c 100644 (file)
--- a/move.c
+++ b/move.c
@@ -62,7 +62,9 @@ int page_down(void)
        while (current != filebot) {
            current = current->next;
            current_y++;
-           edit_update(current);
+
+           if (edittop != fileage)
+               edit_update(current);
        }
 
     update_cursor();
index 3d7eef04150bf8dcb6b09b322a9212f908018ae7..051b75c690b029f7c53f3c3c1af4ea4a62ac67b2 100644 (file)
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-07-28 08:30-0400\n"
+"POT-Creation-Date: 2000-07-28 10:12-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"