Merge pull request #3723 from minggo/develop

[ci skip]fix typo error
This commit is contained in:
minggo 2013-09-20 06:30:55 -07:00
commit 480164abfc
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ void EventDispatcher::dispatchTouchEvent(EventTouch* event)
bool isClaimed = false;
std::vector<Touch*>::iterator removedIter;
auto touchEventListenerTouch = static_cast<EventListener*>(item->listener);
auto touchEventListener = static_cast<EventListenerTouch*>(item->listener);
EventTouch::EventCode eventCode = event->getEventCode();
if (eventCode == EventTouch::EventCode::BEGAN)