X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fhints_dialog.cc;h=668d713216e8ad49b1a40a8a9acd41b0ab7e62fd;hb=ab011bbc0d68ff676a672c7c4c1bef81e84a5007;hp=df22500d2ca6b6a1f8eca51913f1202a8000656a;hpb=ce835adf99ec81ea182ac151f6e0d1cc3376d175;p=dcpomatic.git diff --git a/src/wx/hints_dialog.cc b/src/wx/hints_dialog.cc index df22500d2..668d71321 100644 --- a/src/wx/hints_dialog.cc +++ b/src/wx/hints_dialog.cc @@ -80,14 +80,14 @@ HintsDialog::film_changed () ContentList content = film->content (); int vob = 0; for (ContentList::const_iterator i = content.begin(); i != content.end(); ++i) { - if (boost::algorithm::starts_with ((*i)->path().filename().string(), "VTS_")) { + if (boost::algorithm::starts_with ((*i)->path(0).filename().string(), "VTS_")) { ++vob; } } 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 (); }