diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-07 07:54:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-07 07:54:17 +0300 |
commit | 606223f6a61fb21606ac6faf10aed963c524a3c7 (patch) | |
tree | 0913a2a0fc085751adf336700784323371e0d4d3 /source/blender/windowmanager | |
parent | 0c6d5232a3999770accf0433b436a3bdf5f6f7a8 (diff) | |
parent | d6d76759f8493ca156c597840f9d41a64e326eba (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 2 |
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 { |