Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-03-07 05:23:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-07 05:26:23 +0300
commit0964865568802aba62737d899d6721ef5c58b63a (patch)
tree7e85df6a34a192085f94d181ba53d268bc6c1632 /source/creator
parent8fb1ea857ffef370acb020f6573c165100923e1b (diff)
Cleanup: replace BLI_make_file_string with BLI_join_dirfile where possible
Use 'BLI_join_dirfile' for joining paths that don't need to expand '//'.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator_signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator_signals.c b/source/creator/creator_signals.c
index afec54a636c..dff23837203 100644
--- a/source/creator/creator_signals.c
+++ b/source/creator/creator_signals.c
@@ -114,7 +114,7 @@ static void sig_handle_crash(int signum)
char fname[FILE_MAX];
if (!(G_MAIN && G_MAIN->name[0])) {
- BLI_make_file_string("/", fname, BKE_tempdir_base(), "crash.blend");
+ BLI_join_dirfile(fname, sizeof(fname), BKE_tempdir_base(), "crash.blend");
}
else {
BLI_strncpy(fname, G_MAIN->name, sizeof(fname));