aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-27 03:17:36 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-27 03:17:36 -0400
commit96a34daab76f4ab24fea499d5fd929542c0997b0 (patch)
tree8f528b1d6f9bbb096d83ca789a3c37f72cd87513 /src/nvim/ex_cmds.c
parent25e6d37705a9152deaa74455b2cc18b3f71f6137 (diff)
downloadrneovim-96a34daab76f4ab24fea499d5fd929542c0997b0.tar.gz
rneovim-96a34daab76f4ab24fea499d5fd929542c0997b0.tar.bz2
rneovim-96a34daab76f4ab24fea499d5fd929542c0997b0.zip
lint
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 892458dab7..6f94dedd76 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -585,7 +585,7 @@ void ex_sort(exarg_T *eap)
// Insert the lines in the sorted order below the last one.
lnum = eap->line2;
- for (i = 0; i < count; ++i) {
+ for (i = 0; i < count; i++) {
const linenr_T get_lnum = nrs[eap->forceit ? count - i - 1 : i].lnum;
// If the original line number of the line being placed is not the same