From 0964865568802aba62737d899d6721ef5c58b63a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 7 Mar 2020 13:23:26 +1100 Subject: 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 '//'. --- source/creator/creator_signals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/creator') 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)); -- cgit v1.2.3