Fix a bug preventing certain options from being selected
The value
macro output an if
instead of else if
statement, such that the else
from values_end
only applied to the final option, making that the only valid option.
Example: for the accel-profile
setting, only the adaptive
option was accepted, with none
or flat
resulting in an error.
Solution: change value
from if
to else if
.
Before:
After: