cocos2d/cocos2d-x — pull request #1334 by moadib (2012-09-18 09:16:46+00:00)
Title: Fixed statement which works but incorrect from point of C++ standard

Fixed statement which works but incorrect from point of C++ rules applied to ternary operator and can cause compilation error on compiler different from MSVC