# HG changeset patch # User Bram Moolenaar # Date 1423087681 -3600 # Node ID f884a1140a0a143ad21b08166e2b72dd131b78c2 # Parent 50771b4a5b3b07e9e9e9542ab223ece5aff9661f updated for version 7.4.621 Problem: Returning 1 in the wrong function. (Raymond Ko) Solution: Return 1 in the right function (hopefully). diff --git a/src/if_lua.c b/src/if_lua.c --- 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 --- 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,