Module Name:    src
Committed By:   drochner
Date:           Mon Nov 16 19:40:17 UTC 2009

Modified Files:
        src/usr.bin/less/less: optfunc.c

Log Message:
kill a stray semicolon which made that the "-p <cmd>" option in
POSIX mode didn't work as expected


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/less/less/optfunc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/less/less/optfunc.c
diff -u src/usr.bin/less/less/optfunc.c:1.2 src/usr.bin/less/less/optfunc.c:1.3
--- src/usr.bin/less/less/optfunc.c:1.2	Sat Feb 16 07:20:54 2008
+++ src/usr.bin/less/less/optfunc.c	Mon Nov 16 19:40:17 2009
@@ -267,7 +267,7 @@
 		 * In "more" mode, the -p argument is a command,
 		 * not a search string, so we don't need a slash.
 		 */
-		if (!less_is_more);
+		if (!less_is_more)
 			ungetsc("/");
 		break;
 	}

Reply via email to