summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-24 19:39:49 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-24 19:39:49 +0100
commit8cc0f7c4258e5dd49bfd8751442171b5adcbb51b (patch)
treec6a05f479c8b4dd23047c1aec903e5c3371bb8d9 /src
parentce2c9cf4cbbfd8b277ffc667d3ac0dfda5e3e07e (diff)
Use format ID rather than nickname to avoid problems with colons in paths on Windows.
Diffstat (limited to 'src')
-rw-r--r--src/lib/film.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index bed973924..9442d746c 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -426,7 +426,7 @@ Film::j2k_dir () const
settings.
*/
stringstream s;
- s << _state.format->nickname()
+ s << _state.format->id()
<< "_" << _state.content_digest
<< "_" << left_crop() << "_" << right_crop() << "_" << top_crop() << "_" << bottom_crop()
<< "_" << f.first << "_" << f.second