summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2019-09-07 13:04:14 -0600
committerAaron Ball <nullspoon@oper.io>2019-09-07 13:04:14 -0600
commit5503c140dac2f22eee2a620703aff57f28b4512b (patch)
tree0e29f7f169b0acf6119bafc35faafb97567c4512 /Makefile
parentf9415b4976b31ce6c6f68ee6776194af90bcf05b (diff)
downloadkbd-fade-master.tar.gz
kbd-fade-master.tar.xz
Fix invalid wait valuesHEADmaster
Previously, bad wait values default to 0 (like `sdf`) because atoi returns 0 when it doesn't understand the input. This caused very rapid color changing. Now we check if wait is set to less than 1, assuming an error, and defaults to 1000. This accounts for when users pass negative values and strings. Also removed unused `highest` variable.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions

Generated by cgit