Fix last-but-one commit.
[dcpomatic.git] / src / wx / subtitle_panel.cc
index 07b987a674e42fe4d0832feb34e2b3fd054ceb29..1e137f23326955484e3378f8f302c5d8d5b5ef32 100644 (file)
@@ -308,7 +308,7 @@ SubtitlePanel::subtitle_view_clicked ()
        }
 
        SubtitleContentList c = _parent->selected_subtitle ();
-       assert (c.size() == 1);
+       DCPOMATIC_ASSERT (c.size() == 1);
 
        shared_ptr<SubtitleDecoder> decoder;
        
@@ -337,7 +337,7 @@ SubtitlePanel::fonts_dialog_clicked ()
        }
 
        SubtitleContentList c = _parent->selected_subtitle ();
-       assert (c.size() == 1);
+       DCPOMATIC_ASSERT (c.size() == 1);
 
        _fonts_dialog = new FontsDialog (this, c.front ());
        _fonts_dialog->Show ();