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 9f42aaad25798c18729bab2b162693290e2c3319..1e615da6f948be683008215f54819fc8051f84da 100644 (file)
@@ -462,7 +462,7 @@ FilmViewer::panel_sized (wxSizeEvent& ev)
 void
 FilmViewer::calculate_sizes ()
 {
-       if (!_film) {
+       if (!_film || !_player) {
                return;
        }