aux/cddb: fix artist line splitting

This commit is contained in:
Noam Preil 2024-09-29 15:08:34 +00:00
parent be48d656d3
commit 91b19a1983

View file

@ -105,10 +105,10 @@ split(char *s)
{
char *p;
if((p = strchr(s, '/')) == nil)
if((p = strstr(s, " / ")) == nil)
return nil;
p[-1] = 0;
return p+2;
*p = 0;
return p+3;
}
static int