diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-03-18 06:41:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 06:41:58 +0800 |
commit | 97bbc49cda267b63c773826858f3337721853746 (patch) | |
tree | 08092256e24ae8a33645c6262b0587a8d85dd3bd /src/nvim/ops.c | |
parent | 08c328b8b079334e7fb38472339c4f8ba1a0df3b (diff) | |
parent | d717f8605a05dad4c050ac1e0731c7aba572fe59 (diff) | |
download | rneovim-97bbc49cda267b63c773826858f3337721853746.tar.gz rneovim-97bbc49cda267b63c773826858f3337721853746.tar.bz2 rneovim-97bbc49cda267b63c773826858f3337721853746.zip |
Merge pull request #32935 from zeertzjq/vim-3495497
vim-patch: too many strlen() calls in edit.c
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 0bda14402f..cac811820b 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -3849,7 +3849,7 @@ void ex_display(exarg_T *eap) } // display last inserted text - if ((p = get_last_insert()) != NULL + if ((p = get_last_insert()->data) != NULL && (arg == NULL || vim_strchr(arg, '.') != NULL) && !got_int && !message_filtered(p)) { msg_puts("\n c \". "); |