changeset 2103:30e2b1c4ffd9

[project @ 1996-04-28 12:19:45 by jwe]
author jwe
date Sun, 28 Apr 1996 12:22:22 +0000
parents 8a40a2a677fa
children a64f53e6fc73
files src/pager.cc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/pager.cc	Sun Apr 28 12:03:50 1996 +0000
+++ b/src/pager.cc	Sun Apr 28 12:22:22 1996 +0000
@@ -123,6 +123,8 @@
     {
       int available_rows = terminal_rows () - 2;
 
+      int count = 0;
+
       char c;
 
       while ((c = *s++) != '\0')
@@ -152,7 +154,7 @@
       bool bypass_pager = (really_flush_to_pager
 			   && user_pref.page_screen_output
 			   && ! user_pref.page_output_immediately
-			   && more_than_a_screenful (buf));
+			   && ! more_than_a_screenful (buf));
 
       do_sync (buf, bypass_pager);