diff --git a/src/fomod.c b/src/fomod.c index 11375f7..66b4117 100644 --- a/src/fomod.c +++ b/src/fomod.c @@ -262,13 +262,13 @@ error_t fomod_installFOMod(const char * modFolder, const char * destination) { case ANY: printf("Select any (space separated) (leave empty for nothing) :\n"); min = 0; - max = (u_int8_t)group.pluginCount - 1; + max = (u_int8_t)group.pluginCount; break; case AT_LEAST_ONE: printf("Select at least one (space separated) (leave empty for nothing) :\n"); min = 1; - max = (u_int8_t)group.pluginCount - 1; + max = (u_int8_t)group.pluginCount; break; case AT_MOST_ONE: