mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 04:28:33 +00:00
*: Fix some problems found during review
Still missing: problems in window.c, it should be possible to construct a test for them.
This commit is contained in:
@@ -209,7 +209,7 @@ bool encode_vim_list_to_buf(const list_T *const list, size_t *const ret_len,
|
||||
return false;
|
||||
}
|
||||
len++;
|
||||
if (TV_LIST_ITEM_TV(li)->vval.v_string != 0) {
|
||||
if (TV_LIST_ITEM_TV(li)->vval.v_string != NULL) {
|
||||
len += STRLEN(TV_LIST_ITEM_TV(li)->vval.v_string);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user