From 8faf346260dda3c20365de41cdad95902ae97511 Mon Sep 17 00:00:00 2001 From: Walzer Date: Mon, 4 Jul 2011 19:04:21 +0800 Subject: [PATCH] [lua] fix a bug calling CCLuaLog with multiple params in hello.lua --- HelloLua/Resource/hello.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HelloLua/Resource/hello.lua b/HelloLua/Resource/hello.lua index b0544b7a65ee..545de790d4f4 100644 --- a/HelloLua/Resource/hello.lua +++ b/HelloLua/Resource/hello.lua @@ -31,10 +31,10 @@ function btnTouchMove(e) end function btnTouchBegin(e) + cocos2d.CCLuaLog("btnTouchBegin") for k,v in ipairs(e) do pointBegin = v:locationInView(v:view()) pointBegin = cocos2d.CCDirector:sharedDirector():convertToGL(pointBegin) - cocos2d.CCLuaLog("btnTouchBegin, x= %d, y = %d", pointBegin.x, pointBegin.y) end end