diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-06-19 12:35:16 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-06-19 12:35:16 +0200 |
commit | cb8e47c4f88f12e2a107698a250410561807395a (patch) | |
tree | 781f92aea1078dde37d9f1ade431809774136042 | |
parent | 76ea97c809e50fccc5ca6615943ac6da1db1e030 (diff) | |
parent | dcbeefcd23b8b54de7b2ae16fbf1af39ab91e480 (diff) | |
download | rneovim-cb8e47c4f88f12e2a107698a250410561807395a.tar.gz rneovim-cb8e47c4f88f12e2a107698a250410561807395a.tar.bz2 rneovim-cb8e47c4f88f12e2a107698a250410561807395a.zip |
Merge #6863
-rw-r--r-- | src/nvim/ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index c5660f68fd..f9153a94a7 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -1408,6 +1408,9 @@ int op_delete(oparg_T *oap) } if (oap->regname == 0) { + if (reg == NULL) { + abort(); + } set_clipboard(0, reg); do_autocmd_textyankpost(oap, reg); } |