From: Carl Hetherington Date: Fri, 16 Nov 2012 00:35:42 +0000 (+0000) Subject: Fix typo preventing video format being set properly. X-Git-Tag: v2.0.48~1523 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=14b35296119dcc53ac554962438dd9b5d0ae41c0;p=dcpomatic.git Fix typo preventing video format being set properly. --- diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 492a267d7..6602435c4 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -498,7 +498,7 @@ FilmEditor::film_changed (Film::Property p) ++i; ++n; } - if (i != _formats.end()) { + if (i == _formats.end()) { checked_set (_format, -1); } else { checked_set (_format, n);