xbmc/xbmc — pull request #1657 by kylhill (2012-10-22 01:38:42+00:00)
Title: Fix infinite loop introduced by 32343cb

This changeset makes sure that timerIt is always incremented by exactly
once through all branches of this loop. It also rewrites the for loop
as a while loop to make this odd logic more explicit.