mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
vim-patch:7.4.1648
Problem: Compiler has a problem copying a string into di_key[]. (Yegappan
Lakshmanan)
Solution: Add dictitem16_T.
bee6c0cf86
This commit is contained in:
@@ -292,8 +292,8 @@ typedef enum {
|
||||
.vv_di = { \
|
||||
.di_tv = { .v_type = type }, \
|
||||
.di_flags = 0, \
|
||||
.di_key = { 0 }, \
|
||||
}, \
|
||||
.vv_filler = { 0 }, \
|
||||
.vv_flags = flags, \
|
||||
}
|
||||
|
||||
@@ -303,8 +303,7 @@ typedef enum {
|
||||
// variables with the VV_ defines.
|
||||
static struct vimvar {
|
||||
char *vv_name; ///< Name of the variable, without v:.
|
||||
dictitem_T vv_di; ///< Value of the variable, with name.
|
||||
char vv_filler[16]; ///< Space for longest name from below.
|
||||
dictitem16_T vv_di; ///< Value and name for key (max 16 chars)
|
||||
char vv_flags; ///< Flags: #VV_COMPAT, #VV_RO, #VV_RO_SBX.
|
||||
} vimvars[] =
|
||||
{
|
||||
|
Reference in New Issue
Block a user