diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-06-03 14:37:43 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2017-06-14 20:31:14 +0200 |
commit | ad73a70e5a1c7da58d7afbb70310c14c62b2519d (patch) | |
tree | 7c4b17c92f72df637d096e43ccbd00891a896e87 /src/nvim/option.c | |
parent | 16ae369474b0605716a962b60337421a9fc8741f (diff) | |
download | rneovim-ad73a70e5a1c7da58d7afbb70310c14c62b2519d.tar.gz rneovim-ad73a70e5a1c7da58d7afbb70310c14c62b2519d.tar.bz2 rneovim-ad73a70e5a1c7da58d7afbb70310c14c62b2519d.zip |
screen.c: fix lint
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 6fa7f6b62f..b48ffae85b 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -3580,7 +3580,7 @@ static char_u *compile_cap_prog(synblock_T *synblock) static bool parse_winhl_opt(win_T *wp) { int w_hl_id_normal = 0; - int w_hl_ids[HLF_COUNT] = {0}; + int w_hl_ids[HLF_COUNT] = { 0 }; int hlf; const char *p = (const char *)wp->w_p_winhl; @@ -3597,7 +3597,7 @@ static bool parse_winhl_opt(win_T *wp) if (strncmp("Normal", p, nlen) == 0) { w_hl_id_normal = hl_id; } else { - for (hlf = 0; hlf < (int)HLF_COUNT; ++hlf) { + for (hlf = 0; hlf < (int)HLF_COUNT; hlf++) { if (strncmp(hlf_names[hlf], p, nlen) == 0) { w_hl_ids[hlf] = hl_id; break; |