aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2011-05-09 18:30:23 +0000
committerXin LI <delphij@FreeBSD.org>2011-05-09 18:30:23 +0000
commited915d8294a373813108148f47b424e1152e4a5d (patch)
tree345f36f8a19a9fdb66be9a0a5676b2c0abc67bae /main.c
parentf4cb5a505fa28e14d4b01e5c934bcf965a1822b6 (diff)
downloadsrc-ed915d8294a373813108148f47b424e1152e4a5d.tar.gz
src-ed915d8294a373813108148f47b424e1152e4a5d.zip
Vendor import of less v443.vendor/less/v443
Notes
Notes: svn path=/vendor/less/dist/; revision=221706 svn path=/vendor/less/v443/; revision=221707; tag=vendor/less/v443
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index ed6a61612305..0af176299f63 100644
--- a/main.c
+++ b/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2009 Mark Nudelman
+ * Copyright (C) 1984-2011 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.
@@ -32,7 +32,6 @@ public char * progname;
public int quitting;
public int secure;
public int dohelp;
-public int less_is_more;
#if LOGFILE
public int logfile = -1;
@@ -55,6 +54,7 @@ extern int jump_sline;
static char consoleTitle[256];
#endif
+extern int less_is_more;
extern int missing_cap;
extern int know_dumb;
extern int quit_if_one_screen;
@@ -406,7 +406,7 @@ quit(status)
*/
close(2);
#endif
-#if WIN32
+#ifdef WIN32
SetConsoleTitle(consoleTitle);
#endif
close_getchr();