| diff -up vim72/src/eval.c.rh514717 vim72/src/eval.c |
| |
| |
| @@ -286,13 +286,12 @@ typedef struct |
| #define VV_RO 2 /* read-only */ |
| #define VV_RO_SBX 4 /* read-only in the sandbox */ |
| |
| -#define VV_NAME(s, t) s, {{t, 0, {0}}, 0, {0}}, {0} |
| +#define VV_NAME(s, t) s, {{t, 0, {0}}, 0, {0}} |
| |
| static struct vimvar |
| { |
| char *vv_name; /* name of variable, without v: */ |
| dictitem_T vv_di; /* value and name for key */ |
| - char vv_filler[16]; /* space for LONGEST name below!!! */ |
| char vv_flags; /* VV_COMPAT, VV_RO, VV_RO_SBX */ |
| } vimvars[VV_LEN] = |
| { |
| diff -up vim72/src/structs.h.rh514717 vim72/src/structs.h |
| |
| |
| @@ -1095,7 +1095,7 @@ struct dictitem_S |
| { |
| typval_T di_tv; /* type and value of the variable */ |
| char_u di_flags; /* flags (only used for variable) */ |
| - char_u di_key[10]; /* key (actually longer!) */ |
| + char_u di_key[18]; /* key */ |
| }; |
| |
| typedef struct dictitem_S dictitem_T; |