diff options
Diffstat (limited to 'src/lib/job.cc')
| -rw-r--r-- | src/lib/job.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index 727456523..28bdde7fc 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -111,7 +111,7 @@ Job::run_wrapper () } catch (dcp::FileError& e) { - string m = String::compose (_("An error occurred whilst handling the file %1."), boost::filesystem::path (e.filename()).leaf()); + string m = String::compose(_("An error occurred whilst handling the file %1."), e.filename().filename()); try { auto const s = dcp::filesystem::space(e.filename()); |
