diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-01 17:08:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-01 17:08:29 +0100 |
| commit | 663424bf13787560d987b51b7a984d73be839024 (patch) | |
| tree | e75978ad1dc0472d9e441dde936300b18ccca177 /src | |
| parent | c661eeabc4647c0f72cc0330fe289413baf7f6b8 (diff) | |
Fix last-but-one commit.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/util.cc | 2 |
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; } |
