diff options
author | delphij <delphij@FreeBSD.org> | 2016-01-18 19:13:54 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-01-18 19:13:54 +0000 |
commit | fa1e90c82bb54806d86166769a4547bf68c3e727 (patch) | |
tree | fb469219be6a56d727e63953151fbca9a019057d /contrib/less/main.c | |
parent | 119cebf8a0b980468f7ed411c651dd92ff2a0a88 (diff) | |
download | FreeBSD-src-fa1e90c82bb54806d86166769a4547bf68c3e727.zip FreeBSD-src-fa1e90c82bb54806d86166769a4547bf68c3e727.tar.gz |
MFC r293190: MFV r293125: less v481.
Relnotes: yes
Diffstat (limited to 'contrib/less/main.c')
-rw-r--r-- | contrib/less/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/less/main.c b/contrib/less/main.c index 4a66147..6cfd34d 100644 --- a/contrib/less/main.c +++ b/contrib/less/main.c @@ -1,6 +1,6 @@ /* $FreeBSD$ */ /* - * 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. @@ -57,7 +57,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 no_init; extern int pr_type; @@ -167,8 +166,6 @@ main(argc, argv) if (less_is_more) no_init = TRUE; - if (less_is_more && get_quit_at_eof()) - quit_if_one_screen = TRUE; #if EDITOR editor = lgetenv("VISUAL"); |