diff options
author | Jurica Bradaric <jbradaric@gmail.com> | 2016-01-22 18:32:27 +0100 |
---|---|---|
committer | Jurica Bradaric <jbradaric@gmail.com> | 2016-01-22 19:28:17 +0100 |
commit | b8ed507e3b2da70c5d0d948aaf6abe773b61c6d8 (patch) | |
tree | 8f8e0b9486ca55f1dddbb9a9f65bc541ca237c84 /src | |
parent | 8b86f1103a54882416d4ac626884d3d8a7e02c63 (diff) | |
download | rneovim-b8ed507e3b2da70c5d0d948aaf6abe773b61c6d8.tar.gz rneovim-b8ed507e3b2da70c5d0d948aaf6abe773b61c6d8.tar.bz2 rneovim-b8ed507e3b2da70c5d0d948aaf6abe773b61c6d8.zip |
window: Fix linter errors.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/window.c | 5 | ||||
-rw-r--r-- | src/nvim/window.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 7a21b22d28..2542c7a11e 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -4923,10 +4923,11 @@ file_name_in_line ( // Skip over the "\" in "\ ". ++len; } - if (has_mbyte) + if (has_mbyte) { len += (size_t)(*mb_ptr2len)(ptr + len); - else + } else { ++len; + } } /* diff --git a/src/nvim/window.h b/src/nvim/window.h index 67e1d2106d..2ac4c00c28 100644 --- a/src/nvim/window.h +++ b/src/nvim/window.h @@ -10,7 +10,7 @@ #define FNAME_INCL 8 /* apply 'includeexpr' */ #define FNAME_REL 16 /* ".." and "./" are relative to the (current) file instead of the current directory */ -#define FNAME_UNESC 32 /* remove backslashes used for escaping */ +#define FNAME_UNESC 32 // remove backslashes used for escaping /* * arguments for win_split() |