diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-01-05 21:16:31 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-01-05 21:16:31 +0000 |
commit | afbdeb852fe6b29455466bf2f8aa9a3807a751a5 (patch) | |
tree | c48419b5962d733f03e39a5e22c8684a7e1f79b7 /src | |
parent | 5eaf8729e7e51b1882dcc4682ac332badb1b4e09 (diff) |
updated for version 7.1-208v7.1.208
Diffstat (limited to 'src')
-rw-r--r-- | src/eval.c | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c index aff284e0de..c03da196c3 100644 --- a/src/eval.c +++ b/src/eval.c @@ -3407,6 +3407,7 @@ do_unlet(name, forceit) hashtab_T *ht; hashitem_T *hi; char_u *varname; + dictitem_T *di; ht = find_var_ht(name, &varname); if (ht != NULL && *varname != NUL) @@ -3414,9 +3415,9 @@ do_unlet(name, forceit) hi = hash_find(ht, varname); if (!HASHITEM_EMPTY(hi)) { - if (var_check_fixed(HI2DI(hi)->di_flags, name)) - return FAIL; - if (var_check_ro(HI2DI(hi)->di_flags, name)) + di = HI2DI(hi); + if (var_check_fixed(di->di_flags, name) + || var_check_ro(di->di_flags, name)) return FAIL; delete_var(ht, hi); return OK; diff --git a/src/version.c b/src/version.c index b934108e43..6d9267911c 100644 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 208, +/**/ 207, /**/ 206, |