projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0a5b01
)
Fix (odd) crash.
author
Carl Hetherington
<cth@carlh.net>
Sat, 7 Jul 2018 00:20:40 +0000
(
01:20
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 7 Jul 2018 00:20:40 +0000
(
01:20
+0100)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 9f42aaad25798c18729bab2b162693290e2c3319..1e615da6f948be683008215f54819fc8051f84da 100644
(file)
--- 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;
}