summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2015-02-04 23:08:01 +0100
committerBram Moolenaar <bram@vim.org>2015-02-04 23:08:01 +0100
commit67095f51a64c83e49d2db01f07ba8149da0b91da (patch)
tree9a7ebfb582c13365f3a3cd3d104f9eb0c925d485
parent07ddbf525e945032e08f3760f34ff95b54fe8f80 (diff)
downloadvim-67095f51a64c83e49d2db01f07ba8149da0b91da.tar.gz
updated for version 7.4.621v7.4.621v7-4-621
Problem: Returning 1 in the wrong function. (Raymond Ko) Solution: Return 1 in the right function (hopefully).
-rw-r--r--src/if_lua.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/if_lua.c b/src/if_lua.c
index 0ca81e3d..d926f734 100644
--- a/src/if_lua.c
+++ b/src/if_lua.c
@@ -1517,7 +1517,7 @@ luaV_luaeval (lua_State *L)
return 0;
}
luaV_totypval(L, -1, rettv);
- return 1;
+ return 0;
}
static int
@@ -1548,7 +1548,7 @@ luaV_setref (lua_State *L)
abort = set_ref_in_item(&tv, copyID, NULL, NULL);
}
lua_pushinteger(L, abort);
- return 0;
+ return 1;
}
static int
diff --git a/src/version.c b/src/version.c
index f46f917b..be1bee39 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 621,
+/**/
620,
/**/
619,