ZoneMinder/ZoneMinder — pull request #358 by knnniggett (2014-03-25 22:22:43+00:00)
Title: Fix prev button while in gapless mode.  All buttons tested and working.

I use Gapless mode almost exclusively. Prior to this commit, pressing the previous button would cause zoneminder to load the last frame in the previous event. Zoneminder would then immediately load the next event, which was the same event the user just watched.

This commit causes zoneminder to load the first frame in the previous event once the Prev button is pressed. I've tested all the buttons to make sure none of them were adversely affected by this commit.

@barjac Any chance you could patch this into one of your builds and give this a second look?