]> granicus.if.org Git - vim/commit
patch 8.2.4924: maparg() may return a string that cannot be reused v8.2.4924
authorzeertzjq <zeertzjq@outlook.com>
Mon, 9 May 2022 11:16:19 +0000 (12:16 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 9 May 2022 11:16:19 +0000 (12:16 +0100)
commit0519ce00394474055bd58c089ea90a19986443eb
treef4d1447bec6c7b3e1977f9bdc7b811eb27c63a0d
parent194843028ed486366b89e8f7d3bdd611a11ce7b4
patch 8.2.4924: maparg() may return a string that cannot be reused

Problem:    maparg() may return a string that cannot be reused.
Solution:   use msg_outtrans_special() instead of str2special().
            (closes #10384)
src/message.c
src/option.c
src/testdir/test_map_functions.vim
src/testdir/test_mapping.vim
src/testdir/test_options.vim
src/version.c