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