diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-25 12:00:08 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-25 12:00:08 +0200 |
commit | 36622014c640ad5df19269e63ad037c104efce9c (patch) | |
tree | 3f5cde7423587bd69dcdb2b5b326580129e4ef68 /src/nvim/ex_docmd.c | |
parent | d1faf900b1c682c0d5c20854fcd8d6d02a12200c (diff) | |
parent | 0925afcfcfd3fb024a35d10ee8f584b67bdc9000 (diff) | |
download | rneovim-36622014c640ad5df19269e63ad037c104efce9c.tar.gz rneovim-36622014c640ad5df19269e63ad037c104efce9c.tar.bz2 rneovim-36622014c640ad5df19269e63ad037c104efce9c.zip |
Merge #10596 'vim-patch:8.1.{899,903,905,907,908,910,913,1746}'
close #9930
close #10051
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index af5635ddba..28c7bc300f 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -2451,7 +2451,7 @@ static char_u *find_command(exarg_T *eap, int *full) if (ASCII_ISLOWER(eap->cmd[0])) { const int c1 = eap->cmd[0]; - const int c2 = eap->cmd[1]; + const int c2 = len == 1 ? NUL : eap->cmd[1]; if (command_count != (int)CMD_SIZE) { iemsg((char *)_("E943: Command table needs to be updated, run 'make'")); |