From e4f398604b19b56535031f2e01f7ce644a75480d Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Sat, 6 Aug 2011 13:39:54 +0200 Subject: [PATCH] Fix spelling misstake in setGrab wrapper --- src/modules/mouse/sdl/wrap_Mouse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/mouse/sdl/wrap_Mouse.cpp b/src/modules/mouse/sdl/wrap_Mouse.cpp index c99f0e7f3..2460c2547 100644 --- a/src/modules/mouse/sdl/wrap_Mouse.cpp +++ b/src/modules/mouse/sdl/wrap_Mouse.cpp @@ -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 } };