Merge branch 'master' into blender2.8
[blender.git] / source / blender / render / intern / source / render_result.c
index e0cacdf..c259a60 100644 (file)
@@ -1227,7 +1227,7 @@ static void render_result_exr_file_cache_path(Scene *sce, const char *root, char
        const char *blendfile_path = BKE_main_blendfile_path_from_global();
        if (blendfile_path[0] != '\0') {
                BLI_split_dirfile(blendfile_path, dirname, filename, sizeof(dirname), sizeof(filename));
-               BLI_replace_extension(filename, sizeof(filename), "");  /* strip '.blend' */
+               BLI_path_extension_replace(filename, sizeof(filename), "");  /* strip '.blend' */
                BLI_hash_md5_buffer(blendfile_path, strlen(blendfile_path), path_digest);
        }
        else {