fix for error in own commit r34143

This commit is contained in:
Campbell Barton
2011-01-07 08:59:00 +00:00
parent 54ceccd0ee
commit 7fe16a24a4

View File

@@ -474,7 +474,7 @@ int BKE_read_exotic(Scene *scene, const char *name)
retval= BKE_READ_EXOTIC_FAIL_OPEN;
}
else {
len= gzread(gzfile, &head, sizeof(head));
len= gzread(gzfile, head, sizeof(head));
gzclose(gzfile);
if (len == sizeof(head) && (head[0] == BLEN && head[1] == DER_)) {