38c38,39 < TIDY_BOTH = 2, --- > TIDY_NIX = 2, > TIDY_ALL = 3, 225c226 < if ((system == TIDY_MAC) || (system == TIDY_BOTH)) --- > if ((system == TIDY_MAC) || (system == TIDY_ALL)) 238c239 < if ((system == TIDY_WIN) || (system == TIDY_BOTH)) --- > if ((system == TIDY_WIN) || (system == TIDY_ALL)) 264c265 < if ((system == TIDY_MAC) || (system == TIDY_BOTH)) --- > if ((system == TIDY_MAC) || (system == TIDY_ALL)) 284c285 < if ((system == TIDY_WIN) || (system == TIDY_BOTH)) --- > if ((system == TIDY_WIN) || (system == TIDY_ALL)) 300a302,320 > > if (del == 0) > { > if ((system == TIDY_NIX) || (system == TIDY_ALL)) > { > /* remove linux files*/ > if ((rb->strcmp(entry->d_name, ".dolphinview") == 0)) { > *removed +=1; /* increment removed files counter */ > > /* get absolute path */ > char fullname[MAX_PATH]; > tidy_get_absolute_path(entry, fullname, name); > > /* delete file */ > rb->remove(fullname); > del = 1; > } > } > } 345c365 < int selection, ret = 2; --- > int selection, ret = 3; 351c371 < static const struct opt_items system_option[3] = --- > static const struct opt_items system_option[] = 355c375,376 < { "Both", -1 } --- > { "Linux", -1}, > { "All", -1 } 383c404 < enum tidy_system system = TIDY_BOTH; --- > enum tidy_system system = TIDY_ALL; 399c420 < system = TIDY_BOTH; --- > system = TIDY_NIX; 400a422,424 > case 3: > system = TIDY_ALL; > break; 404c428 < system = TIDY_BOTH; --- > system = TIDY_ALL;