mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 12:40:03 +00:00
fix compile warnings
This commit is contained in:
parent
f2e8f1f1fd
commit
5e839e5d74
@ -571,7 +571,10 @@ void menu_ticker_line(char *buf, size_t len, unsigned index, const char *str, bo
|
||||
}
|
||||
|
||||
if (!selected)
|
||||
snprintf(buf, len, "%.*s...", len - 3, str);
|
||||
{
|
||||
strlcpy(buf, str, len + 1 - 3);
|
||||
strlcat(buf, "...", len + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Wrap long strings in options with some kind of ticker line.
|
||||
|
Loading…
x
Reference in New Issue
Block a user