diff options
author | ckelsel <ckelsel@hotmail.com> | 2017-12-02 15:45:19 +0800 |
---|---|---|
committer | ckelsel <ckelsel@hotmail.com> | 2017-12-02 15:45:19 +0800 |
commit | 7ab36403e1abce45c688a33e2909c04e54da62e5 (patch) | |
tree | 07ce66d782fed34a142490ecea3d1a85f7b690a5 /src | |
parent | 585d664b7b0d5032082bdc3ca8a17bc7fa34a4e8 (diff) | |
download | rneovim-7ab36403e1abce45c688a33e2909c04e54da62e5.tar.gz rneovim-7ab36403e1abce45c688a33e2909c04e54da62e5.tar.bz2 rneovim-7ab36403e1abce45c688a33e2909c04e54da62e5.zip |
fix lint error
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_docmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 801979a9cb..e11788531b 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -3492,8 +3492,9 @@ char_u *skip_range( break; } } else if (*cmd == '\'') { - if (*++cmd == NUL && ctx != NULL) + if (*++cmd == NUL && ctx != NULL) { *ctx = EXPAND_NOTHING; + } } else if (*cmd == '/' || *cmd == '?') { delim = *cmd++; while (*cmd != NUL && *cmd != delim) |