]> Kevux Git Server - fll/commitdiff
Regression: UTF8 program is throwing error when trying to read files.
authorKevin Day <thekevinday@gmail.com>
Fri, 4 Mar 2022 02:24:35 +0000 (20:24 -0600)
committerKevin Day <thekevinday@gmail.com>
Fri, 4 Mar 2022 02:24:35 +0000 (20:24 -0600)
level_3/utf8/c/utf8.c

index f076cd213621435db543e370e44b5fc8c8e78cca..4799c04436d1e78abadcba6b31cd52246bff8dce 100644 (file)
@@ -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]);