summaryrefslogtreecommitdiffhomepage
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-10-29 13:16:28 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-10-29 13:16:28 +0000
commit31d58e58d2ceea6c0a8e1e652384f1643685e5af (patch)
tree6a5b29f66276edbe6161a511e956407515574e88 /miscutils
parent1fe7887659353f43e6cdd1a2492178e11a7ee6d5 (diff)
randomconfig fixes
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/less.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 68b7c6c0c..b5d225a12 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