From: Carl Hetherington Date: Fri, 1 May 2015 16:08:29 +0000 (+0100) Subject: Fix last-but-one commit. X-Git-Tag: v2.0.48~116 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=663424bf13787560d987b51b7a984d73be839024;hp=c661eeabc4647c0f72cc0330fe289413baf7f6b8;p=dcpomatic.git Fix last-but-one commit. --- diff --git a/src/lib/util.cc b/src/lib/util.cc index 22baa8fd3..08683fb7e 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -509,7 +509,7 @@ audio_channel_name (int c) bool valid_image_file (boost::filesystem::path f) { - if (boost::starts_with (f.string(), "._")) { + if (boost::starts_with (f.leaf().string(), "._")) { return false; }