From be7d59b132e3b5a8e2f47f5743f14da94b448cd2 Mon Sep 17 00:00:00 2001 From: minggo Date: Fri, 20 Sep 2013 21:29:12 +0800 Subject: [PATCH] fix typo error --- cocos2dx/event_dispatcher/CCEventDispatcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/event_dispatcher/CCEventDispatcher.cpp b/cocos2dx/event_dispatcher/CCEventDispatcher.cpp index 7dafa65ab6..94eaad1014 100644 --- a/cocos2dx/event_dispatcher/CCEventDispatcher.cpp +++ b/cocos2dx/event_dispatcher/CCEventDispatcher.cpp @@ -353,7 +353,7 @@ void EventDispatcher::dispatchTouchEvent(EventTouch* event) bool isClaimed = false; std::vector::iterator removedIter; - auto touchEventListenerTouch = static_cast(item->listener); + auto touchEventListener = static_cast(item->listener); EventTouch::EventCode eventCode = event->getEventCode(); if (eventCode == EventTouch::EventCode::BEGAN)