mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
Fix last minute changes
This commit is contained in:
parent
3339b61696
commit
7f8138fbb5
@ -635,7 +635,7 @@ static int get_xsb_name(char * buf, size_t maxsize, int target_subsong, xwb_head
|
||||
}
|
||||
|
||||
//;VGM_LOG("XSB: name found=%i at %lx\n", xsb.parse_found, xsb.name_offset);
|
||||
if (!xsb.parse_found || xsb.name[0] == '\0')
|
||||
if (!xsb.name_len || xsb.name[0] == '\0')
|
||||
goto fail;
|
||||
|
||||
strncpy(buf,xsb.name,maxsize);
|
||||
|
@ -55,7 +55,7 @@ static void xsb_check_stream(xsb_header * xsb, int stream_index, int wavebank_in
|
||||
int cat_len = 2;
|
||||
|
||||
if (xsb->name_len + cat_len + name_size + 1 < STREAM_NAME_SIZE) {
|
||||
strcat(xsb->name + xsb->name_len, "; ");
|
||||
strcat(xsb->name + xsb->name_len, cat);
|
||||
strcat(xsb->name + xsb->name_len, name);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user