Cycles: svn merge -r41182:41205 ^/trunk/blender
[blender-staging.git] / source / blender / blenloader / intern / writefile.c
index 8f179bd240bc5788d2fb85fd25c40e302c0d9148..10cc5e85f9dd98ac9aa619a8f7d206847c6ca23d 100644 (file)
@@ -2746,7 +2746,7 @@ int BLO_write_file(Main *mainvar, const char *filepath, int write_flags, ReportL
 
                /* first write compressed to separate @.gz */
                BLI_snprintf(gzname, sizeof(gzname), "%s@.gz", filepath);
-               ret = BLI_gzip(tempname, gzname);
+               ret = BLI_file_gzip(tempname, gzname);
                
                if(0==ret) {
                        /* now rename to real file name, and delete temp @ file too */