summaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-10-26 00:24:38 +0000
committerDenis Vlasenko2008-10-26 00:24:38 +0000
commitf3dcd3c30aa704a542b50357094d037f976be3ce (patch)
tree68df196db73e94ecd30d0c0b80b2bfffa4fe225f /miscutils/less.c
parent7462b21dbe9d31f94ed54c246128378596a54286 (diff)
downloadbusybox-f3dcd3c30aa704a542b50357094d037f976be3ce.zip
busybox-f3dcd3c30aa704a542b50357094d037f976be3ce.tar.gz
less: FEATURE_LESS_LINENUMS depends on FEATURE_LESS_DASHCMD
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 6f28200..4f00fad 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -192,7 +192,8 @@ static void less_exit(int code)
exit(code);
}
-#if ENABLE_FEATURE_LESS_LINENUMS || ENABLE_FEATURE_LESS_WINCH
+#if (ENABLE_FEATURE_LESS_DASHCMD && ENABLE_FEATURE_LESS_LINENUMS) \
+ || ENABLE_FEATURE_LESS_WINCH
static void re_wrap(void)
{
int w = width;