diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-02 16:57:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-02 16:57:45 +0100 |
| commit | 0896035400ab6a6e52e9c32a030ab176b2e655bb (patch) | |
| tree | 86fbbb48d1a60c15507192310ccd9f9c57e74d7e /src | |
| parent | 9c7b47ebc5a347f9bba4d1a12c9d739f17f15ca4 (diff) | |
Timer period must apparently be > 0 (on OS X at least).
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index a0cc25ab9..83a179f26 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -325,7 +325,7 @@ FilmViewer::timer () stop (); } - _timer.Start (max ((next.seconds() - time().seconds()) * 1000, 0.0), wxTIMER_ONE_SHOT); + _timer.Start (max ((next.seconds() - time().seconds()) * 1000, 1.0), wxTIMER_ONE_SHOT); if (_butler) { _butler->rethrow (); |
