aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-30 12:24:56 +0200
committerGitHub <noreply@github.com>2019-04-30 12:24:56 +0200
commit8342b4486b43e6664b6412ac0c8a549097220df2 (patch)
tree7b892b17acbcac5e8298b641e336ee7de05647dd /src/nvim/ex_getln.c
parent63526f2eeee774c657270a1ec0cbd788480f14b7 (diff)
parent0e7048ae0558e457d37ce2d13dc5f1f9e62deb49 (diff)
downloadrneovim-8342b4486b43e6664b6412ac0c8a549097220df2.tar.gz
rneovim-8342b4486b43e6664b6412ac0c8a549097220df2.tar.bz2
rneovim-8342b4486b43e6664b6412ac0c8a549097220df2.zip
Merge #9957 from janlazo/vim-8.0.1263
vim-patch:8.0.{1263,1265,1267}
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index f3ae3a5e5d..ece2b59bc6 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -6110,9 +6110,9 @@ static int open_cmdwin(void)
do {
if (++i == hislen)
i = 0;
- if (history[histtype][i].hisstr != NULL)
- ml_append(lnum++, history[histtype][i].hisstr,
- (colnr_T)0, FALSE);
+ if (history[histtype][i].hisstr != NULL) {
+ ml_append(lnum++, history[histtype][i].hisstr, (colnr_T)0, false);
+ }
} while (i != hisidx[histtype]);
}
}