summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-26 21:46:28 +0200
committerBram Moolenaar <Bram@vim.org>2017-03-26 21:46:28 +0200
commit980128c369451450743bdb90a67588fa72ec4b07 (patch)
treeebf21cf258e11b6a014493a7e3b6e5b9da26b936 /src/ex_docmd.c
parentc96272e30e2b81e5e0c8418f09d9db4e2fcd5d73 (diff)
patch 8.0.0514: script for creating cmdidxs can be improvedv8.0.0514
Problem: Script for creating cmdidxs can be improved. Solution: Count skipped lines instead of collecting the lines. Add "const". (Dominique Pelle, closes #1594)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 9782557c13..8755f0549b 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -566,7 +566,7 @@ static const unsigned char cmdidxs2[26][26] =
/* z */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }
};
-static int command_count = 539;
+static const int command_count = 539;
/* End of automatically generated code by create_cmdidxs.pl */