summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_editor.cc4
-rw-r--r--src/wx/hints_dialog.cc2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index b3d28db5f..99d607731 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -820,7 +820,9 @@ FilmEditor::selected_content ()
break;
}
- sel.push_back (_film->content()[s]);
+ if (s < int (_film->content().size ())) {
+ sel.push_back (_film->content()[s]);
+ }
}
return sel;
diff --git a/src/wx/hints_dialog.cc b/src/wx/hints_dialog.cc
index 18b1f5451..668d71321 100644
--- a/src/wx/hints_dialog.cc
+++ b/src/wx/hints_dialog.cc
@@ -87,7 +87,7 @@ HintsDialog::film_changed ()
if (vob > 1) {
hint = true;
- _text->WriteText (wxString::Format (_("You have %d files that look like they are VOB files from DVD. You should coalesce them to ensure smooth joins between the files."), vob));
+ _text->WriteText (wxString::Format (_("You have %d files that look like they are VOB files from DVD. You should join them to ensure smooth joins between the files."), vob));
_text->Newline ();
}