From afbdeb852fe6b29455466bf2f8aa9a3807a751a5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 5 Jan 2008 21:16:31 +0000 Subject: [PATCH] updated for version 7.1-208 --- src/eval.c | 7 ++++--- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/eval.c b/src/eval.c index aff284e0d..c03da196c 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 b934108e4..6d9267911 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 208, /**/ 207, /**/ -- 2.40.0