Skip to content

Commit b9127a0

Browse files
brammooldouglasdrumond
authored andcommitted
updated for version 7.4.621
Problem: Returning 1 in the wrong function. (Raymond Ko) Solution: Return 1 in the right function (hopefully).
1 parent e4aa908 commit b9127a0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/if_lua.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ luaV_luaeval (lua_State *L)
15171517
return 0;
15181518
}
15191519
luaV_totypval(L, -1, rettv);
1520-
return 1;
1520+
return 0;
15211521
}
15221522

15231523
static int
@@ -1548,7 +1548,7 @@ luaV_setref (lua_State *L)
15481548
abort = set_ref_in_item(&tv, copyID, NULL, NULL);
15491549
}
15501550
lua_pushinteger(L, abort);
1551-
return 0;
1551+
return 1;
15521552
}
15531553

15541554
static int

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
621,
744746
/**/
745747
620,
746748
/**/

0 commit comments

Comments
 (0)