Addition to last bugfix:

Give the correct error message on saving instead of simply defaulting
to "not enough diskspace".
This commit is contained in:
Brecht Van Lommel
2007-02-11 00:13:07 +00:00
parent 89f4ca65f2
commit cf00e675ed

View File

@@ -1947,9 +1947,9 @@ int BLO_write_file(char *dir, int write_flags, char **error_r)
} else {
*error_r= strerror(errno);
remove(tempname);
*error_r= "Not enough diskspace";
return 0;
}