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