diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-08 00:08:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-08 00:08:33 +0100 |
| commit | 7c798f9e215282afb078da53b1d41d4c99e11f5d (patch) | |
| tree | f35881e65bf797f0626eae799774149c72023de0 /src/wx | |
| parent | 87a3395fb8c546f7b71f36f5b16739486699493e (diff) | |
Split Format into Fixed and Variable so that sources can be unstretched.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/film_viewer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index e647a5886..3c7d76bce 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -131,7 +131,7 @@ private: int vw, vh; GetSize (&vw, &vh); - float const target = _film->format() ? _film->format()->ratio_as_float () : 1.78; + float const target = _film->format() ? _film->format()->ratio_as_float (_film) : 1.78; _cropped_image = _image->GetSubImage ( wxRect ( |
