Replace strpbrk with strchr - we only need to search for one char
This commit is contained in:
parent
275c6c0267
commit
eb08faa434
|
@ -2145,7 +2145,7 @@ static void xmb_set_title(xmb_handle_t *xmb)
|
||||||
xmb->title_name_alt, sizeof(xmb->title_name_alt));
|
xmb->title_name_alt, sizeof(xmb->title_name_alt));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while ((scrub_char_ptr = strpbrk(xmb->title_name, "/")))
|
while ((scrub_char_ptr = strchr(xmb->title_name, '/')))
|
||||||
*scrub_char_ptr = ' ';
|
*scrub_char_ptr = ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue