mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 03:40:43 +00:00
Kill an overflow or two. Or twelve.
This commit is contained in:
parent
302d704063
commit
5aa0628ebf
@ -732,7 +732,7 @@ void fill_short_pathname_representation(char* out_rep,
|
||||
|
||||
#ifdef HAVE_COMPRESSION
|
||||
last_slash = find_last_slash(path_short);
|
||||
if(last_slash != NULL)
|
||||
if (last_slash != NULL)
|
||||
{
|
||||
/* We handle paths like:
|
||||
* /path/to/file.7z#mygame.img
|
||||
|
@ -32,7 +32,7 @@
|
||||
static char* out;
|
||||
static char core[PATH_MAX_LENGTH] = {0};
|
||||
static char content[PATH_MAX_LENGTH] = {0};
|
||||
float ratio[] = {0.85f, 0.15f};
|
||||
float ratio[] = {0.85f, 0.15f, 0f}; /* TODO: what should this be? */
|
||||
|
||||
void nk_wnd_main(nk_menu_handle_t *nk, const char* title)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user