I believe this fixes issue #239, where args.flags was getting clobbered by an overflow
The problem was that sizeof(char_or_func) is 129, not 128, due to the trailing null byte.
However, I've tested logkeys on two computers, and on both I have unrelated keymap issues. Could someone please make sure this isn't breaking anything horribly before merging it? (ex. that I'm not chopping off a key?)
I believe this fixes issue #239, where
args.flags
was getting clobbered by an overflowThe problem was that sizeof(char_or_func) is 129, not 128, due to the trailing null byte.
However, I've tested logkeys on two computers, and on both I have unrelated keymap issues. Could someone please make sure this isn't breaking anything horribly before merging it? (ex. that I'm not chopping off a key?)