Fix spelling misstake in setGrab wrapper

This commit is contained in:
Bart van Strien
2011-08-06 13:39:54 +02:00
parent 9ed5906416
commit e4f398604b
+2 -2
View File
@@ -89,7 +89,7 @@ namespace sdl
return 1;
}
int w_setGrap(lua_State * L)
int w_setGrab(lua_State * L)
{
bool b = luax_toboolean(L, 1);
instance->setGrab(b);
@@ -111,7 +111,7 @@ namespace sdl
{ "setVisible", w_setVisible },
{ "isVisible", w_isVisible },
{ "getPosition", w_getPosition },
{ "setGrab", w_setGrap },
{ "setGrab", w_setGrab },
{ "isGrabbed", w_isGrabbed },
{ 0, 0 }
};