Fix bad self on cursor:output_at_pos
This commit is contained in:
parent
540f931d2d
commit
4bc201754a
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ static int
|
||||||
l_kiwmi_cursor_output_at_pos(lua_State *L)
|
l_kiwmi_cursor_output_at_pos(lua_State *L)
|
||||||
{
|
{
|
||||||
struct kiwmi_object *obj =
|
struct kiwmi_object *obj =
|
||||||
*(struct kiwmi_object **)luaL_checkudata(L, 1, "kiwmi_server");
|
*(struct kiwmi_object **)luaL_checkudata(L, 1, "kiwmi_cursor");
|
||||||
|
|
||||||
struct kiwmi_cursor *cursor = obj->object;
|
struct kiwmi_cursor *cursor = obj->object;
|
||||||
struct kiwmi_server *server = cursor->server;
|
struct kiwmi_server *server = cursor->server;
|
||||||
|
|
Loading…
Reference in a new issue