Fix typo preventing video format being set properly.
authorCarl Hetherington <cth@carlh.net>
Fri, 16 Nov 2012 00:35:42 +0000 (00:35 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 16 Nov 2012 00:35:42 +0000 (00:35 +0000)
src/wx/film_editor.cc

index 492a267d711737b8b9deb70a78fd3475b857d80f..6602435c492ee178930270c048b8dcc61d6b74ff 100644 (file)
@@ -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);