Merge branch 'master' into blender2.8
[blender.git] / source / creator / creator_signals.c
index 44c93d2..94e5874 100644 (file)
@@ -123,7 +123,7 @@ static void sig_handle_crash(int signum)
                        }
                        else {
                                BLI_strncpy(fname, G_MAIN->name, sizeof(fname));
-                               BLI_replace_extension(fname, sizeof(fname), ".crash.blend");
+                               BLI_path_extension_replace(fname, sizeof(fname), ".crash.blend");
                        }
 
                        printf("Writing: %s\n", fname);
@@ -144,7 +144,7 @@ static void sig_handle_crash(int signum)
        }
        else {
                BLI_join_dirfile(fname, sizeof(fname), BKE_tempdir_base(), BLI_path_basename(G_MAIN->name));
-               BLI_replace_extension(fname, sizeof(fname), ".crash.txt");
+               BLI_path_extension_replace(fname, sizeof(fname), ".crash.txt");
        }
 
        printf("Writing: %s\n", fname);