summaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-10-29 13:16:28 +0000
committerDenis Vlasenko2008-10-29 13:16:28 +0000
commit31d58e58d2ceea6c0a8e1e652384f1643685e5af (patch)
tree6a5b29f66276edbe6161a511e956407515574e88 /miscutils/less.c
parent1fe7887659353f43e6cdd1a2492178e11a7ee6d5 (diff)
downloadbusybox-31d58e58d2ceea6c0a8e1e652384f1643685e5af.zip
busybox-31d58e58d2ceea6c0a8e1e652384f1643685e5af.tar.gz
randomconfig fixes
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 68b7c6c..b5d225a 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -272,7 +272,9 @@ static void re_wrap(void)
last_line_pos = new_line_pos;
cur_fline = new_cur_fline;
/* max_lineno is screen-size independent */
+#if ENABLE_FEATURE_LESS_REGEXP
pattern_valid = 0;
+#endif
}
#endif