Cleanup: outdated comment

This commit is contained in:
Campbell Barton 2017-11-19 03:25:52 +11:00
parent 40c8a18229
commit 83e4e65074

@ -389,11 +389,7 @@ LinkNode *BLI_file_read_as_lines(const char *name)
for (i = 0; i <= size; i++) {
if (i == size || buf[i] == '\n') {
char *line = BLI_strdupn(&buf[last], i - last);
BLI_linklist_append(&lines, line);
/* faster to build singly-linked list in reverse order */
/* alternatively, could process buffer in reverse order so
* list ends up right way round to start with */
last = i + 1;
}
}