Style nit.

This commit is contained in:
Themaister 2011-12-25 12:14:26 +01:00
parent 0724ab2ca1
commit fe7f05e717

1
file.c
View File

@ -990,6 +990,7 @@ void fill_pathname(char *out_path, const char *in_path, const char *replace, siz
char *tok = strrchr(tmp_path, '.'); char *tok = strrchr(tmp_path, '.');
if (tok != NULL) if (tok != NULL)
*tok = '\0'; *tok = '\0';
ssnes_assert(strlcpy(out_path, tmp_path, size) < size); ssnes_assert(strlcpy(out_path, tmp_path, size) < size);
ssnes_assert(strlcat(out_path, replace, size) < size); ssnes_assert(strlcat(out_path, replace, size) < size);
} }