mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 12:40:03 +00:00
Log messages are too small to hold entire path
This commit is contained in:
parent
3c3611af6f
commit
bd413de842
@ -789,7 +789,7 @@ static bool content_file_extract_from_archive(
|
||||
NULL : content_ctx->directory_cache,
|
||||
tmp_path, sizeof(tmp_path)))
|
||||
{
|
||||
char msg[128];
|
||||
char msg[PATH_MAX_LENGTH];
|
||||
snprintf(msg, sizeof(msg), "%s: \"%s\".\n",
|
||||
msg_hash_to_str(MSG_FAILED_TO_EXTRACT_CONTENT_FROM_COMPRESSED_FILE),
|
||||
*content_path);
|
||||
@ -993,7 +993,7 @@ static bool content_file_load(
|
||||
content_compressed, i, first_content_type,
|
||||
&content_data, &content_size))
|
||||
{
|
||||
char msg[128];
|
||||
char msg[PATH_MAX_LENGTH];
|
||||
snprintf(msg, sizeof(msg), "%s \"%s\"\n",
|
||||
msg_hash_to_str(MSG_COULD_NOT_READ_CONTENT_FILE),
|
||||
content_path);
|
||||
@ -1073,7 +1073,7 @@ static bool content_file_load(
|
||||
* (This disclaimer is out dated but I don't want to remove it)*/
|
||||
if (!CopyFileFromAppW(wcontent_path, wnew_path, false))
|
||||
{
|
||||
char msg[128];
|
||||
char msg[PATH_MAX_LENGTH];
|
||||
/* TODO/FIXME - localize */
|
||||
snprintf(msg, sizeof(msg), "%s \"%s\". (during copy read or write)\n",
|
||||
msg_hash_to_str(MSG_COULD_NOT_READ_CONTENT_FILE),
|
||||
|
Loading…
x
Reference in New Issue
Block a user