diff options
author | ZyX <kp-pav@yandex.ru> | 2016-07-12 19:04:12 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-27 00:11:26 +0300 |
commit | 3fa4ca81880bc5113c32a89de965ce593e9b001f (patch) | |
tree | a687ac7acbb3df805af9a21c2c1530b4767a840a /src | |
parent | ed3115bd26047c9b125798d9cb56d09b155a243b (diff) | |
download | rneovim-3fa4ca81880bc5113c32a89de965ce593e9b001f.tar.gz rneovim-3fa4ca81880bc5113c32a89de965ce593e9b001f.tar.bz2 rneovim-3fa4ca81880bc5113c32a89de965ce593e9b001f.zip |
executor/converter: Fix conversion of self-containing containers
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/viml/executor/converter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/viml/executor/converter.c b/src/nvim/viml/executor/converter.c index c127b87738..319e07bdbc 100644 --- a/src/nvim/viml/executor/converter.c +++ b/src/nvim/viml/executor/converter.c @@ -446,7 +446,7 @@ bool nlua_pop_typval(lua_State *lstate, typval_T *ret_tv) ? (void *)mpval.data.d.dict == (void *)(val) \ : (void *)mpval.data.l.list == (void *)(val)) { \ lua_pushvalue(lstate, \ - 1 - ((int)((kv_size(*mpstack) - backref + 1) * 2))); \ + -((int)((kv_size(*mpstack) - backref + 1) * 2))); \ break; \ } \ } \ |