Merged changes in the trunk up to revision 41225.
[blender-staging.git] / source / blender / blenlib / intern / bpath.c
index 65b9ba9ea4a3887090bae71b969e12f74845c3c6..624b726e27e9ec292731092d8ea2f51ac49c5feb 100644 (file)
@@ -967,7 +967,7 @@ void findMissingFiles(Main *bmain, const char *str)
        
        //XXX waitcursor( 1 );
        
-       BLI_split_dirfile(str, dirname, NULL, sizeof(dirname), 0);
+       BLI_split_dir_part(str, dirname, sizeof(dirname));
        
        BLI_bpathIterator_init(&bpi, bmain, bmain->name, 0);