summaryrefslogtreecommitdiffstats
path: root/usr.bin/more
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2000-05-15 16:39:58 +0000
committerhoek <hoek@FreeBSD.org>2000-05-15 16:39:58 +0000
commitfc2bd3426959c43f1a3a68da83e6ec04fd33530e (patch)
tree25d24822dfa040c4545c431e401e6fc2781971b2 /usr.bin/more
parentb58bc8da9b494ed261f2be5e105b8c75a28a47d8 (diff)
downloadFreeBSD-src-fc2bd3426959c43f1a3a68da83e6ec04fd33530e.zip
FreeBSD-src-fc2bd3426959c43f1a3a68da83e6ec04fd33530e.tar.gz
I'm not sure what posessed me to initialize wraplines to FALSE in the prev
commit, but it's obviously supposed to be initialised to TRUE.
Diffstat (limited to 'usr.bin/more')
-rw-r--r--usr.bin/more/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/more/main.c b/usr.bin/more/main.c
index 6be4b32..de05b18 100644
--- a/usr.bin/more/main.c
+++ b/usr.bin/more/main.c
@@ -109,7 +109,7 @@ edit(filename, force_open)
/* Okay since later code in this fcn() always forces redraw() */
horiz_off = 0;
- wraplines = 0;
+ wraplines = 1;
initial_pos = NULL_POSITION;
if (filename == NULL || *filename == '\0') {
OpenPOWER on IntegriCloud