plugins: disktidy: fix loading of filetypes to clean

regression introduced in 1648441

Change-Id: I7e7c07128bf47ca862b4d45b362e7723846163a7
This commit is contained in:
Christian Soffke 2024-01-07 07:01:13 +01:00
parent ed27dac432
commit de16065265

View file

@ -176,7 +176,7 @@ static void tidy_load_file(const char* file)
str++; str++;
unsigned i = find_file_string(str, last_group); unsigned i = find_file_string(str, last_group);
tidy_types[i].remove = rb->strcmp(remove, "yes"); tidy_types[i].remove = !rb->strcmp(remove, "yes");
if (i >= tidy_type_count) if (i >= tidy_type_count)
{ {