mirror of
https://github.com/vim/vim.git
synced 2025-10-23 08:44:20 -04:00
patch 7.4.2160
Problem: setmatches() mixes up values. (Nikolai Pavlov) Solution: Save the string instead of reusing a shared buffer.
This commit is contained in:
@@ -418,6 +418,7 @@ dict_find(dict_T *d, char_u *key, int len)
|
||||
/*
|
||||
* Get a string item from a dictionary.
|
||||
* When "save" is TRUE allocate memory for it.
|
||||
* When FALSE a shared buffer is used, can only be used once!
|
||||
* Returns NULL if the entry doesn't exist or out of memory.
|
||||
*/
|
||||
char_u *
|
||||
|
||||
Reference in New Issue
Block a user