diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-05 07:53:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-05 07:53:22 +0400 |
commit | e39f05e5faa63027026e0ec4cd8c085113d01596 (patch) | |
tree | b5486414cee346598a343f04353ca376335ab991 /source/blender/windowmanager/intern/wm_files.c | |
parent | 1a9cde8b998fc79c58caefae83dad8493c213aee (diff) |
patch [#34103] fileops_1.patch
from Lawrence D'Oliveiro (ldo)
Add comments and use of bool type in fileops.c
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-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 699bbf52b8e..67422c8d986 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1044,7 +1044,7 @@ void wm_autosave_delete(void) BLI_make_file_string("/", str, BLI_temporary_dir(), BLENDER_QUIT_FILE); /* if global undo; remove tempsave, otherwise rename */ - if (U.uiflag & USER_GLOBALUNDO) BLI_delete(filename, 0, 0); + if (U.uiflag & USER_GLOBALUNDO) BLI_delete(filename, false, false); else BLI_rename(filename, str); } } |