summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-24 17:09:45 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-24 17:09:45 +0100
commitbfde7a8618e9cd3180c38142ff26e251e37d8502 (patch)
tree1d04f583f8ba632ee39046def98a3e44b2d4ef1b /src/lib
parent6aa2c3ce4ca022c45ae22a48c9c5151d437c6e73 (diff)
Fix bad access of content path.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/film_state.cc b/src/lib/film_state.cc
index ae70b53bd..343e9ebb4 100644
--- a/src/lib/film_state.cc
+++ b/src/lib/film_state.cc
@@ -168,7 +168,7 @@ FilmState::read_metadata (string k, string v)
/* Itsy bitsy hack: compute digest here if don't have one (for backwards compatibility) */
if (content_digest.empty() && !content.empty()) {
- content_digest = md5_digest (file (content));
+ content_digest = md5_digest (content_path ());
}
}