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>2018-12-07 07:54:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-07 07:54:17 +0300
commit606223f6a61fb21606ac6faf10aed963c524a3c7 (patch)
tree0913a2a0fc085751adf336700784323371e0d4d3 /source/blender/windowmanager/intern/wm_files.c
parent0c6d5232a3999770accf0433b436a3bdf5f6f7a8 (diff)
parentd6d76759f8493ca156c597840f9d41a64e326eba (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 5339029900a..0bf24b3e615 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -607,7 +607,7 @@ bool WM_file_read(bContext *C, const char *filepath, ReportList *reports)
Main *bmain = CTX_data_main(C);
/* when loading startup.blend's, we can be left with a blank path */
- if (BKE_main_blendfile_path(bmain)) {
+ if (BKE_main_blendfile_path(bmain)[0] != '\0') {
G.save_over = 1;
}
else {