less: FEATURE_LESS_LINENUMS depends on FEATURE_LESS_DASHCMD
This commit is contained in:
@ -318,7 +318,7 @@ config FEATURE_LESS_REGEXP
|
|||||||
config FEATURE_LESS_LINENUMS
|
config FEATURE_LESS_LINENUMS
|
||||||
bool "Enable dynamic switching of line numbers"
|
bool "Enable dynamic switching of line numbers"
|
||||||
default n
|
default n
|
||||||
depends on LESS
|
depends on FEATURE_LESS_DASHCMD
|
||||||
help
|
help
|
||||||
Enable "-N" command.
|
Enable "-N" command.
|
||||||
|
|
||||||
|
@ -192,7 +192,8 @@ static void less_exit(int code)
|
|||||||
exit(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)
|
static void re_wrap(void)
|
||||||
{
|
{
|
||||||
int w = width;
|
int w = width;
|
||||||
|
Reference in New Issue
Block a user