mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
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));
|
||||
}
|
||||
}
|
||||
while ((scrub_char_ptr = strpbrk(xmb->title_name, "/")))
|
||||
while ((scrub_char_ptr = strchr(xmb->title_name, '/')))
|
||||
*scrub_char_ptr = ' ';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user