projects
/
vim
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
934b136
)
updated for version 7.4.621
v7.4.621
author
Bram Moolenaar
<Bram@vim.org>
Wed, 4 Feb 2015 22:08:01 +0000
(23:08 +0100)
committer
Bram 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
patch
|
blob
|
history
src/version.c
patch
|
blob
|
history
diff --git
a/src/if_lua.c
b/src/if_lua.c
index 0ca81e3d89136826a1308cd37722ab7dd00e98c8..d926f73465f4046fa7542ab9d56965d4833cd056 100644
(file)
--- 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 f46f917b4216771c9e5c17659de93e1f1297cb30..be1bee3910733b882556b85156803b40964d063b 100644
(file)
--- a/
src/version.c
+++ b/
src/version.c
@@
-741,6
+741,8
@@
static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 621,
/**/
620,
/**/