ref: 342641abc4b8e03a28e7b071d3b1f24c1b653ac2
parent: a3286864232bee3797766119a66a1908480a7d23
author: Noam Preil <noam@pixelhero.dev>
date: Sun Sep 29 11:08:34 EDT 2024
aux/cddb: fix artist line splitting
--- a/sys/src/cmd/aux/cddb.c
+++ b/sys/src/cmd/aux/cddb.c
@@ -105,10 +105,10 @@
{
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
--
⑨