summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-07 12:48:24 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-07 12:48:24 +0000
commitd238c04f7fb4d07e1c374ba884da8528692a9228 (patch)
treea3f5097f4f2f2f2bafe65d43c17fbcd571fc8a20 /src/lib
parentdc096ebf9c5b793756f680c269e5ac7411da6978 (diff)
Fix inadvertant breakage of hash file creation.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 0a989201b..34289e65f 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -1317,7 +1317,11 @@ Film::info_path (int f) const
s << setfill('0') << f << ".md5";
p /= s.str();
- return file (p.string ());
+
+ /* info_dir() will already have added any initial bit of the path,
+ so don't call file() on this.
+ */
+ return p.string ();
}
string