From 7d92eff6918e62cecb5a39e8f8e2d0b35e08fb11 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Mon, 7 Oct 2024 20:57:02 +0300 Subject: [PATCH] twn_loop.c: better log for /twn.toml misaccess --- src/twn_loop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/twn_loop.c b/src/twn_loop.c index 9f62e93..4380e5c 100644 --- a/src/twn_loop.c +++ b/src/twn_loop.c @@ -305,7 +305,7 @@ static bool initialize(void) { { char *config_file = file_to_str("/twn.toml"); if (config_file == NULL) { - CRY_PHYSFS("Configuration file loading failed"); + CRY("Configuration file loading failed", "Cannot access /twn.toml"); goto fail; } @@ -314,7 +314,7 @@ static bool initialize(void) { SDL_free(config_file); if (ctx.config_table == NULL) { - CRY("Configuration file loading failed", errbuf); + CRY("Configuration file pasing failed", errbuf); goto fail; } }