cocos2d/cocos2d-x — pull request #1544 by ncrothe (2012-11-03 10:37:57+00:00)
Title: Minor bugfix extensions/GUI/CCScrollView/CCTableView.cpp

numberOfCellsInTableView returns unsigned int so, if it returns 0 and you subtract 1, you get a very big number and idx is never bigger than that