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
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/BLI_ghash.c2
-rw-r--r--source/creator/creator.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_ghash.c b/source/blender/blenlib/intern/BLI_ghash.c
index 3a423135d5e..0c6ff6a7b96 100644
--- a/source/blender/blenlib/intern/BLI_ghash.c
+++ b/source/blender/blenlib/intern/BLI_ghash.c
@@ -42,8 +42,8 @@
// #include "BLI_blenlib.h"
-#include "BLI_mempool.h"
#include "BLI_utildefines.h"
+#include "BLI_mempool.h"
#include "BLI_ghash.h"
#include "BLO_sys_types.h" // for intptr_t support
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 7c27208d821..d62f1c6853f 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -326,7 +326,7 @@ void segmentation_handler(int UNUSED(sig))
char fname[256];
if (!G.main->name[0]) {
- BLI_make_file_string("/", fname, btempdir, "crash.blend");
+ BLI_make_file_string("/", fname, BLI_temporary_dir(), "crash.blend");
}
else {
sprintf(fname, "%s.crash.blend", G.main->name);