From de16065265fd93b68265c348d9748b161a7c660d Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 7 Jan 2024 07:01:13 +0100 Subject: plugins: disktidy: fix loading of filetypes to clean regression introduced in 1648441 Change-Id: I7e7c07128bf47ca862b4d45b362e7723846163a7 --- apps/plugins/disktidy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/disktidy.c b/apps/plugins/disktidy.c index 4f2bf6e992..e018c3f80d 100644 --- a/apps/plugins/disktidy.c +++ b/apps/plugins/disktidy.c @@ -176,7 +176,7 @@ static void tidy_load_file(const char* file) str++; 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) { -- cgit v1.2.3