summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-01-07 07:01:13 +0100
committerChristian Soffke <christian.soffke@gmail.com>2024-01-07 07:01:13 +0100
commitde16065265fd93b68265c348d9748b161a7c660d (patch)
tree3f76b247fb9247cbea4d7821c5e36322b349b239
parented27dac4322362c7524ce6631f210a28465ff095 (diff)
downloadrockbox-de16065265.tar.gz
rockbox-de16065265.zip
plugins: disktidy: fix loading of filetypes to clean
regression introduced in 1648441 Change-Id: I7e7c07128bf47ca862b4d45b362e7723846163a7
-rw-r--r--apps/plugins/disktidy.c2
1 files changed, 1 insertions, 1 deletions
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)
{