提交 e6f4145f 编写于 作者: R Ron Yorston 提交者: Bernhard Reutner-Fischer

vi: fix regex search compilation error

Building with FEATURE_VI_REGEX_SEARCH enabled fails.
Signed-off-by: NRon Yorston <rmy@pobox.com>
Signed-off-by: NBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
上级 36feb268
......@@ -2684,7 +2684,7 @@ static char *expand_args(char *args)
static char *strchr_backslash(const char *s, int c)
{
while (*s) {
if (*s == c) {
if (*s == c)
return (char *)s;
if (*s == '\\')
if (*++s == '\0')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册