summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2016-01-04 00:22:34 +0000
committerXin LI <delphij@FreeBSD.org>2016-01-04 00:22:34 +0000
commit59d1fa4298584d1670edf26ee475b9b8f6a1c7bc (patch)
tree8f43d5492b0b0c6dbf3a7b8f98085e8dd6d97a78 /main.c
parent368ca3013fcfe6e0e9470294fdc2f837025fa519 (diff)
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/main.c b/main.c
index da61b6bbeffac..149999cd4b537 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2012 Mark Nudelman
+ * Copyright (C) 1984-2015 Mark Nudelman
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
@@ -56,7 +56,6 @@ static char consoleTitle[256];
extern int less_is_more;
extern int missing_cap;
extern int know_dumb;
-extern int quit_if_one_screen;
extern int pr_type;
@@ -158,9 +157,6 @@ main(argc, argv)
quit(QUIT_OK);
}
- if (less_is_more && get_quit_at_eof())
- quit_if_one_screen = TRUE;
-
#if EDITOR
editor = lgetenv("VISUAL");
if (editor == NULL || *editor == '\0')