Corrected post-revert changes to ttt.cpp from c6975c70f53a960a8d94ad98f5b7249d338ae903