Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-02-11 03:13:07 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-02-11 03:13:07 +0300
commitcf00e675edd30b0cfd69ed14677dd90111f38348 (patch)
tree361b266a410a8ee1203f447e4d1dce6530706564
parent89f4ca65f2b2325a2dc90f43fc8e283d77482732 (diff)
Addition to last bugfix:
Give the correct error message on saving instead of simply defaulting to "not enough diskspace".
-rw-r--r--source/blender/blenloader/intern/writefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 2c3411df65b..5bb99ff78b8 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -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;
}