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.
This commit is contained in:
2011-10-22 15:35:49 +00:00
parent c1de5cc838
commit e417e011d5
39 changed files with 137 additions and 191 deletions

View File

@@ -574,7 +574,7 @@ void WM_read_history(void)
BLI_make_file_string("/", name, cfgdir, BLENDER_HISTORY_FILE);
lines= BLI_read_file_as_lines(name);
lines= BLI_file_read_as_lines(name);
G.recent_files.first = G.recent_files.last = NULL;
@@ -589,7 +589,7 @@ void WM_read_history(void)
}
}
BLI_free_file_lines(lines);
BLI_file_free_lines(lines);
}