summaryrefslogtreecommitdiff
path: root/src/photos/RawSupport.vala
diff options
context:
space:
mode:
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();