projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bd26fb
)
Fix silly crash.
author
Carl Hetherington
<cth@carlh.net>
Thu, 10 Jan 2019 20:19:26 +0000
(20:19 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 10 Jan 2019 20:19:26 +0000
(20:19 +0000)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index e7d51624ac182e303127e461c873013211f81543..8b58d42f0f508f8e813e83acaea1544546b94164 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-330,7
+330,7
@@
FilmViewer::paint_panel ()
{
wxPaintDC dc (_panel);
- if (!_out_size.width || !_out_size.height ||
_out_size != _frame->size(
)) {
+ if (!_out_size.width || !_out_size.height ||
(_frame && _out_size != _frame->size()
)) {
dc.Clear ();
return;
}