From a1644cad2974b35bae7671e442ee47451f9ff74e Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Mon, 9 Jul 2012 13:36:46 -0300 Subject: [PATCH] Minor g_app lua binding fix --- src/framework/luafunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/luafunctions.cpp b/src/framework/luafunctions.cpp index 8890a539..1daf538a 100644 --- a/src/framework/luafunctions.cpp +++ b/src/framework/luafunctions.cpp @@ -490,7 +490,7 @@ void Application::registerLuaFunctions() g_lua.bindSingletonFunction("g_app", "isStopping", &Application::isStopping, &g_app); g_lua.bindSingletonFunction("g_app", "isOnInputEvent", &Application::isOnInputEvent, &g_app); g_lua.bindSingletonFunction("g_app", "getName", &Application::getName, &g_app); - g_lua.bindSingletonFunction("g_app", "getCompactName", &Application::getName, &g_app); + g_lua.bindSingletonFunction("g_app", "getCompactName", &Application::getCompactName, &g_app); g_lua.bindSingletonFunction("g_app", "getVersion", &Application::getVersion, &g_app); g_lua.bindSingletonFunction("g_app", "getForegroundPaneFps", &Application::getForegroundPaneFps, &g_app); g_lua.bindSingletonFunction("g_app", "getBackgroundPaneFps", &Application::getBackgroundPaneFps, &g_app);