Kill an overflow or two. Or twelve.

This commit is contained in:
Alcaro 2016-09-04 18:12:03 +02:00
parent 302d704063
commit 5aa0628ebf
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)
{