mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
aux/cddb: fix artist line splitting
This commit is contained in:
parent
be48d656d3
commit
91b19a1983
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue