diff options
author | Ron Yorston <rmy@pobox.com> | 2021-04-25 11:52:25 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-04-28 11:29:33 +0200 |
commit | 3b9233f05fc82029529f74fdce0e453d7fb73997 (patch) | |
tree | b4dc041fc007146ab38993326770df3a774749c4 | |
parent | 7a8ceb4eb25f1b136bf9a79b04d46dc4d7f440a7 (diff) | |
download | busybox-w32-3b9233f05fc82029529f74fdce0e453d7fb73997.tar.gz busybox-w32-3b9233f05fc82029529f74fdce0e453d7fb73997.tar.bz2 busybox-w32-3b9233f05fc82029529f74fdce0e453d7fb73997.zip |
vi: adjust conditional compilation of modifying_cmds
Since commit 74d565ff1 (vi: make context marks more like vi) the
list of commands that modify the text is no longer required when
FEATURE_VI_YANKMARK is enabled, only FEATURE_VI_DOT_CMD.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index 77c42641e..d818127e2 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -249,7 +249,7 @@ enum { | |||
249 | //#define ESC_CURSOR_UP ESC"[A" | 249 | //#define ESC_CURSOR_UP ESC"[A" |
250 | //#define ESC_CURSOR_DOWN "\n" | 250 | //#define ESC_CURSOR_DOWN "\n" |
251 | 251 | ||
252 | #if ENABLE_FEATURE_VI_DOT_CMD || ENABLE_FEATURE_VI_YANKMARK | 252 | #if ENABLE_FEATURE_VI_DOT_CMD |
253 | // cmds modifying text[] | 253 | // cmds modifying text[] |
254 | static const char modifying_cmds[] ALIGN1 = "aAcCdDiIJoOpPrRs""xX<>~"; | 254 | static const char modifying_cmds[] ALIGN1 = "aAcCdDiIJoOpPrRs""xX<>~"; |
255 | #endif | 255 | #endif |