diff options
author | Zach Burchill <burchill@users.noreply.github.com> | 2017-10-25 20:04:36 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-31 00:40:27 -0400 |
commit | 4c1164c469a103981478222b21ef5ffaa364448d (patch) | |
tree | 708566fb3c66c5d92932570c89a68d1f1f09e728 /license_GPLv3.md | |
parent | e555e42aae6dbed7ba0da78a3e05d25fc5da5214 (diff) |
fixed two typos
I'm almost 100% sure "else if (state->count = 2) {" was a typo (it should have two ='s for a logical operator), and I'm *pretty* sure "if (state->interrupted || state->!pressed) return SINGLE_TAP;" has a typo. At least, it returns an error on my machine saying something about an unexpected '!'.
I changed it to a slightly longer form (i.e., "state->pressed==0"), and that worked fine.
Diffstat (limited to 'license_GPLv3.md')
0 files changed, 0 insertions, 0 deletions