summaryrefslogtreecommitdiff
path: root/src/photos/RawSupport.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:53:58 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:53:58 +0100
commit2492891f112caac6076ce49721d9d5d78a152c3a (patch)
tree36dd11a60bd963e6bd44e2e312b6e4b57d1849ea /src/photos/RawSupport.vala
parent3c829c50a8f705402bdc759946d49ae7caebd003 (diff)
New upstream version 0.26.4upstream/0.26.4
Diffstat (limited to 'src/photos/RawSupport.vala')
-rw-r--r--src/photos/RawSupport.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/photos/RawSupport.vala b/src/photos/RawSupport.vala
index 05f652c..d11d06e 100644
--- a/src/photos/RawSupport.vala
+++ b/src/photos/RawSupport.vala
@@ -352,8 +352,10 @@ public enum RawDeveloper {
basename = camera_development_filename;
}
+ string newbasename = LibraryFiles.convert_basename(basename);
+
bool c;
- File? new_back = generate_unique_file(master.get_parent(), basename, out c);
+ File? new_back = generate_unique_file(master.get_parent(), newbasename, out c);
claim_file(new_back);
ns.file_format = PhotoFileFormat.JFIF;
ns.filepath = new_back.get_path();