From bfde7a8618e9cd3180c38142ff26e251e37d8502 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 Jul 2012 17:09:45 +0100 Subject: Fix bad access of content path. --- src/lib/film_state.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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 ()); } } -- cgit v1.2.3