diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-01-07 07:01:13 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-01-07 07:01:13 +0100 |
commit | de16065265fd93b68265c348d9748b161a7c660d (patch) | |
tree | 3f76b247fb9247cbea4d7821c5e36322b349b239 | |
parent | ed27dac4322362c7524ce6631f210a28465ff095 (diff) | |
download | rockbox-de16065265fd93b68265c348d9748b161a7c660d.tar.gz rockbox-de16065265fd93b68265c348d9748b161a7c660d.zip |
plugins: disktidy: fix loading of filetypes to clean
regression introduced in 1648441
Change-Id: I7e7c07128bf47ca862b4d45b362e7723846163a7
-rw-r--r-- | apps/plugins/disktidy.c | 2 |
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) | |||
176 | str++; | 176 | str++; |
177 | unsigned i = find_file_string(str, last_group); | 177 | unsigned i = find_file_string(str, last_group); |
178 | 178 | ||
179 | tidy_types[i].remove = rb->strcmp(remove, "yes"); | 179 | tidy_types[i].remove = !rb->strcmp(remove, "yes"); |
180 | 180 | ||
181 | if (i >= tidy_type_count) | 181 | if (i >= tidy_type_count) |
182 | { | 182 | { |