From 1a2d020574ecba447a0a627903d2c8e86ede22f7 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 3 Mar 2022 20:24:35 -0600 Subject: [PATCH] Regression: UTF8 program is throwing error when trying to read files. --- level_3/utf8/c/utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/utf8/c/utf8.c b/level_3/utf8/c/utf8.c index f076cd2..4799c04 100644 --- a/level_3/utf8/c/utf8.c +++ b/level_3/utf8/c/utf8.c @@ -298,7 +298,7 @@ extern "C" { index = main->parameters.array[utf8_parameter_from_file_e].values.array[i]; - if (!data.argv[index].used) { + if (data.argv[index].used) { if (!f_file_exists(data.argv[index])) { utf8_print_error_parameter_file_not_found(&data, F_true, data.argv[index]); -- 1.8.3.1