Fix (odd) crash.
authorCarl Hetherington <cth@carlh.net>
Sat, 7 Jul 2018 00:20:40 +0000 (01:20 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 7 Jul 2018 00:20:40 +0000 (01:20 +0100)
src/wx/film_viewer.cc

index 9f42aaa..1e615da 100644 (file)
@@ -462,7 +462,7 @@ FilmViewer::panel_sized (wxSizeEvent& ev)
 void
 FilmViewer::calculate_sizes ()
 {
-       if (!_film) {
+       if (!_film || !_player) {
                return;
        }