diff options
author | Ron Yorston <rmy@pobox.com> | 2021-07-13 16:35:43 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2021-07-13 18:23:43 +0200 |
commit | e6f4145f2961bfd500214ef1fcf07543ffacb603 (patch) | |
tree | 3cb76789a6ddff24cf00fdabf9350f67b07d6c52 | |
parent | 36feb2682481d55ae49df899c38e16130227ba4a (diff) | |
download | busybox-w32-e6f4145f2961bfd500214ef1fcf07543ffacb603.tar.gz busybox-w32-e6f4145f2961bfd500214ef1fcf07543ffacb603.tar.bz2 busybox-w32-e6f4145f2961bfd500214ef1fcf07543ffacb603.zip |
vi: fix regex search compilation error
Building with FEATURE_VI_REGEX_SEARCH enabled fails.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.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 5c601c759..a4b958734 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -2684,7 +2684,7 @@ static char *expand_args(char *args) | |||
2684 | static char *strchr_backslash(const char *s, int c) | 2684 | static char *strchr_backslash(const char *s, int c) |
2685 | { | 2685 | { |
2686 | while (*s) { | 2686 | while (*s) { |
2687 | if (*s == c) { | 2687 | if (*s == c) |
2688 | return (char *)s; | 2688 | return (char *)s; |
2689 | if (*s == '\\') | 2689 | if (*s == '\\') |
2690 | if (*++s == '\0') | 2690 | if (*++s == '\0') |