projects
/
platform
/
upstream
/
ibus-libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d3f47
)
change isnil to isnone.
author
Peng Wu
<epico@dhcp-65-116.nay.redhat.com>
Wed, 7 Apr 2010 06:52:32 +0000
(14:52 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Wed, 19 May 2010 02:09:32 +0000
(10:09 +0800)
lua/lua-plugin-init.c
patch
|
blob
|
history
diff --git
a/lua/lua-plugin-init.c
b/lua/lua-plugin-init.c
index
20fc0b0
..
69e356e
100644
(file)
--- a/
lua/lua-plugin-init.c
+++ b/
lua/lua-plugin-init.c
@@
-187,17
+187,17
@@
static int ime_register_command(lua_State * L){
lua_pop(L, 1);
description = luaL_checklstring(L, 3, NULL);
- if ( !lua_isn
il
(L, 4)) {
+ if ( !lua_isn
one
(L, 4)) {
leading = luaL_checklstring(L, 4, NULL);
}else{
leading = "digit";
}
- if ( !lua_isn
il
(L, 5)) {
+ if ( !lua_isn
one
(L, 5)) {
help = luaL_checklstring(L, 5, NULL);
}
-
+ /* check whether the same command exists. */
return 0;
}