Fix warning.
authorCarl Hetherington <cth@carlh.net>
Thu, 19 Jul 2018 20:46:20 +0000 (21:46 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 19 Jul 2018 22:45:23 +0000 (23:45 +0100)
src/wx/caption_panel.cc

index 5a1241c7806416b7f376f9c6a2d861b550b04371..c4a71677b9ef79323cfc058627ddc1a4138e3a4f 100644 (file)
@@ -228,6 +228,8 @@ CaptionPanel::film_content_changed (int property)
                        case TEXT_CLOSED_CAPTION:
                                _type->SetSelection (1);
                                break;
+                       default:
+                               DCPOMATIC_ASSERT (false);
                        }
                } else {
                        _type->SetSelection (0);