aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-08-25 14:30:12 +0100
committerGitHub <noreply@github.com>2022-08-25 14:30:12 +0100
commit99f8d34c8a7128a9adb43168ca5364ccbd568333 (patch)
tree0a28a1505debe6e4d1025f9c518a7b0fe1ab769c /src/nvim/main.c
parentcd2d3aa48f3531103a3a355d76394301e7b074df (diff)
parent93f24403f8cc760ff47979c596976b53a8b16358 (diff)
downloadrneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.tar.gz
rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.tar.bz2
rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.zip
Merge pull request #19934 from lewis6991/prepostincr
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index e4e30b7902..12c51e8a85 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1709,7 +1709,7 @@ static void edit_buffers(mparm_T *parmp, char_u *cwd)
}
arg_idx = 1;
- for (i = 1; i < parmp->window_count; ++i) {
+ for (i = 1; i < parmp->window_count; i++) {
if (cwd != NULL) {
os_chdir((char *)cwd);
}