diff options
author | Bastien Montagne <bastien@blender.org> | 2022-09-14 16:48:49 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-09-14 16:48:49 +0300 |
commit | 56fb2a5ed0f54af198d450542c3536be516d7214 (patch) | |
tree | bc214530037d22da2440ec021a5c0230689520e0 /source/blender/blenkernel/intern/blendfile.c | |
parent | 22bf5ba4d1526c9e942a2dbd6f25e3932e9d71f2 (diff) |
Cleanup: use proper `bool` variables in Main, instead of `char`.
Diffstat (limited to 'source/blender/blenkernel/intern/blendfile.c')
-rw-r--r-- | source/blender/blenkernel/intern/blendfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/blendfile.c b/source/blender/blenkernel/intern/blendfile.c index d7f30c99397..bf40d07054d 100644 --- a/source/blender/blenkernel/intern/blendfile.c +++ b/source/blender/blenkernel/intern/blendfile.c @@ -364,7 +364,7 @@ static void setup_app_data(bContext *C, BKE_lib_override_library_main_hierarchy_root_ensure(bmain); } - bmain->recovered = 0; + bmain->recovered = false; /* startup.blend or recovered startup */ if (is_startup) { @@ -372,7 +372,7 @@ static void setup_app_data(bContext *C, } else if (recover) { /* In case of autosave or quit.blend, use original filepath instead. */ - bmain->recovered = 1; + bmain->recovered = true; STRNCPY(bmain->filepath, bfd->filepath); } |