summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-07 01:20:40 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-07 01:20:40 +0100
commit173fc4c4ca837cbea881efc361604b82806a1807 (patch)
tree753bf21e59fb6173453198f63f26aeb4c3ce4841
parentf0a5b013d52d4d36f4b2c758d53c3e132d7a705f (diff)
Fix (odd) crash.
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 9f42aaad2..1e615da6f 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -462,7 +462,7 @@ FilmViewer::panel_sized (wxSizeEvent& ev)
void
FilmViewer::calculate_sizes ()
{
- if (!_film) {
+ if (!_film || !_player) {
return;
}