From fa1e90c82bb54806d86166769a4547bf68c3e727 Mon Sep 17 00:00:00 2001 From: delphij Date: Mon, 18 Jan 2016 19:13:54 +0000 Subject: MFC r293190: MFV r293125: less v481. Relnotes: yes --- contrib/less/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'contrib/less/main.c') 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"); -- cgit v1.1