mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
Minor fix to TWL title name listing.
This commit is contained in:
parent
ca379320af
commit
eb0bffd4a9
@ -174,12 +174,9 @@ static Result task_populate_titles_add_twl(populate_titles_data* data, FS_MediaT
|
||||
char* curr = NULL;
|
||||
|
||||
while(currDest < 3 && (curr = strchr(last, '\n')) != NULL) {
|
||||
if(currDest == 0) {
|
||||
strncpy(item->name, last, curr - last);
|
||||
}
|
||||
|
||||
strncpy(destinations[currDest++], last, curr - last);
|
||||
last = curr + 1;
|
||||
*curr = ' ';
|
||||
}
|
||||
|
||||
strncpy(item->name, title, last - title);
|
||||
|
Loading…
x
Reference in New Issue
Block a user