summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-07 00:57:09 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-07 00:57:09 +0000
commita70021afdc1e1fa026d8274f1bd2c905a7ced384 (patch)
treef32d32f5f728deba0246d5b3959a32683bad37ae /src
parent32fc1ddb0ee004d18c36155ddcf4d9b3998a7061 (diff)
Hopefully fix crash on trying to create a j2c file for the first time.
Diffstat (limited to 'src')
-rw-r--r--src/lib/film.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 8720e79e4..0a989201b 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -1317,7 +1317,7 @@ Film::info_path (int f) const
s << setfill('0') << f << ".md5";
p /= s.str();
- return p.string ();
+ return file (p.string ());
}
string
@@ -1336,7 +1336,7 @@ Film::j2c_path (int f, bool t) const
}
p /= s.str();
- return p.string ();
+ return file (p.string ());
}