From d77fa9a821620d1b645394ab7871bd99232882a9 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 15 Mar 2010 17:03:13 +0800 Subject: change to pushliteral in ime_get_version. --- lua/lua-plugin-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lua-plugin-init.c b/lua/lua-plugin-init.c index ca4fb7e..bde0416 100644 --- a/lua/lua-plugin-init.c +++ b/lua/lua-plugin-init.c @@ -50,7 +50,7 @@ static int ime_get_last_commit(lua_State* L){ static int ime_get_version(lua_State* L){ /* TODO: replace this with C macros. */ - lua_pushstring(L, "ibus-pinyin 1.2.99"); + lua_pushliteral(L, "ibus-pinyin 1.2.99"); return 1; } -- cgit