Use display_sjis0/display_utf0 in messages

Ensure correct encoding for error/warning/log messages.
This commit is contained in:
Nunuhara Cabbage
2022-04-06 19:33:33 -07:00
parent b45e8e73dc
commit 38df5ea1c1
22 changed files with 73 additions and 94 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ static void MainEXFile_ModuleInit(void)
{
// load .ex file
if (!config.ex_path || !(ex = ex_read_file(config.ex_path)))
ERROR("Failed to load .ex file: %s", config.ex_path);
ERROR("Failed to load .ex file: %s", display_utf0(config.ex_path));
// assign IDs to each ex_value
int id = 1;