Cleanup: outdated comment
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user