0
0
mirror of https://github.com/vim/vim.git synced 2025-07-25 10:54:51 -04:00

updated for version 7.4.621

Problem:    Returning 1 in the wrong function. (Raymond Ko)
Solution:   Return 1 in the right function (hopefully).
This commit is contained in:
Bram Moolenaar 2015-02-04 23:08:01 +01:00
parent 934b136193
commit f554a3285e
2 changed files with 4 additions and 2 deletions

View File

@ -1517,7 +1517,7 @@ luaV_luaeval (lua_State *L)
return 0; return 0;
} }
luaV_totypval(L, -1, rettv); luaV_totypval(L, -1, rettv);
return 1; return 0;
} }
static int static int
@ -1548,7 +1548,7 @@ luaV_setref (lua_State *L)
abort = set_ref_in_item(&tv, copyID, NULL, NULL); abort = set_ref_in_item(&tv, copyID, NULL, NULL);
} }
lua_pushinteger(L, abort); lua_pushinteger(L, abort);
return 0; return 1;
} }
static int static int

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
621,
/**/ /**/
620, 620,
/**/ /**/