forked from bartvdbraak/blender
- bug fix: blender didn't rename temp save file to quit.blend at quit.
also reported on linux...
This commit is contained in:
parent
4501069c27
commit
af12043677
@ -444,10 +444,9 @@ void BIF_write_autosave(void)
|
||||
|
||||
static void delete_autosave(void)
|
||||
{
|
||||
char tstr[FILE_MAXDIR+FILE_MAXFILE], pidstr[FILE_MAXFILE];
|
||||
char tstr[FILE_MAXDIR+FILE_MAXFILE];
|
||||
|
||||
sprintf(pidstr, "%d", abs(getpid()));
|
||||
BLI_make_file_string("/", tstr, U.tempdir, pidstr);
|
||||
get_autosave_location(tstr);
|
||||
|
||||
if (BLI_exists(tstr)) {
|
||||
char str[FILE_MAXDIR+FILE_MAXFILE];
|
||||
|
Loading…
Reference in New Issue
Block a user