mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
fix(shada): restore search pattern length properly (#28929)
This commit is contained in:
@@ -1188,6 +1188,7 @@ static void shada_read(ShaDaReadDef *const sd_reader, const int flags)
|
||||
.off = cur_entry.data.search_pattern.offset,
|
||||
},
|
||||
.pat = cur_entry.data.search_pattern.pat,
|
||||
.patlen = strlen(cur_entry.data.search_pattern.pat),
|
||||
.additional_data = cur_entry.data.search_pattern.additional_data,
|
||||
.timestamp = cur_entry.timestamp,
|
||||
};
|
||||
|
Reference in New Issue
Block a user