diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-13 06:40:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-13 06:40:49 +0400 |
commit | 1ab6306177d303165c3e80d4056a47ce6e74ac41 (patch) | |
tree | 1416a1a258c7b9b12c73ac852b8ec0dbc97b4991 /source/blender/windowmanager/intern/wm_files.c | |
parent | 3716dfb3b045306d51e6cccca6d699afa072490a (diff) |
minor edits
- add BLENDER_QUIT_FILE define.
- use const for passing rcti's in widget drawing.
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 df463076919..73f26185764 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1035,7 +1035,7 @@ void wm_autosave_delete(void) if (BLI_exists(filename)) { char str[FILE_MAX]; - BLI_make_file_string("/", str, BLI_temporary_dir(), "quit.blend"); + 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); |