updated for version 7.4.621 v7.4.621
authorBram Moolenaar <Bram@vim.org>
Wed, 4 Feb 2015 22:08:01 +0000 (23:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 4 Feb 2015 22:08:01 +0000 (23:08 +0100)
Problem:    Returning 1 in the wrong function. (Raymond Ko)
Solution:   Return 1 in the right function (hopefully).

src/if_lua.c
src/version.c

index 0ca81e3d89136826a1308cd37722ab7dd00e98c8..d926f73465f4046fa7542ab9d56965d4833cd056 100644 (file)
@@ -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
index f46f917b4216771c9e5c17659de93e1f1297cb30..be1bee3910733b882556b85156803b40964d063b 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    621,
 /**/
     620,
 /**/