summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-01 17:08:29 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-01 17:08:29 +0100
commit663424bf13787560d987b51b7a984d73be839024 (patch)
treee75978ad1dc0472d9e441dde936300b18ccca177 /src/lib
parentc661eeabc4647c0f72cc0330fe289413baf7f6b8 (diff)
Fix last-but-one commit.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util.cc2
1 files changed, 1 insertions, 1 deletions
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;
}