(courtesy of Psyraven) Fix crashes with Explore view

This commit is contained in:
LibretroAdmin 2024-12-31 11:22:43 +01:00
parent 953a2d011d
commit 20ec0c605a

View File

@ -844,7 +844,7 @@ static void explore_append_title(char *s, size_t len,
va_list ap;
size_t _len = strlen(s);
va_start(ap, fmt);
vsnprintf(s + len, len - _len, fmt, ap);
vsnprintf(s + _len, len - _len, fmt, ap);
va_end(ap);
}