jackyliao123/Screenshot — pull request #2 by lolzballs (2014-04-22 22:20:55+00:00)
Title: Fixed issue, if PNG is not on last iteration.

Previous commit added a bug, where if PNG was not on the last iteration, index would be set to 0.