summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/subtitle_panel.cc')
-rw-r--r--src/wx/subtitle_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc
index 07b987a67..1e137f233 100644
--- a/src/wx/subtitle_panel.cc
+++ b/src/wx/subtitle_panel.cc
@@ -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 ();