Hopefully fix crash on trying to create a j2c file for the first time.
authorCarl Hetherington <cth@carlh.net>
Thu, 7 Feb 2013 00:57:09 +0000 (00:57 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 7 Feb 2013 00:57:09 +0000 (00:57 +0000)
src/lib/film.cc

index 8720e79e46c86e6d053dc9abbcd3f7cda844ce79..0a989201b4d47927d235e13dac3eaaa0800a6509 100644 (file)
@@ -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 ());
 }