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>2011-10-22 19:35:49 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-10-22 19:35:49 +0400
commite417e011d558693b9ff9cd048efe9cbe79da74be (patch)
tree36612e30bf5c561051635c8eef7180d29251e846 /source/blender/blenloader/intern/runtime.c
parentc1de5cc83829b65094eee024af10928bd13261ce (diff)
Code cleanup: file operations merged into single header, some function names
made less cryptic and changed to indicate if they work on files or directories.
Diffstat (limited to 'source/blender/blenloader/intern/runtime.c')
-rw-r--r--source/blender/blenloader/intern/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/runtime.c b/source/blender/blenloader/intern/runtime.c
index 7a241e007f2..57cdce94b17 100644
--- a/source/blender/blenloader/intern/runtime.c
+++ b/source/blender/blenloader/intern/runtime.c
@@ -111,7 +111,7 @@ BlendFileData *BLO_read_runtime(const char *path, ReportList *reports)
goto cleanup;
}
- actualsize= BLI_filesize(fd);
+ actualsize= BLI_file_descriptor_size(fd);
lseek(fd, -12, SEEK_END);