Fixed logic error in detecting 'Alt' key.

DirtyHairy, it looks like you removed a negation and replaced it with
a positive (ie, you removed an _ifndef_, not an _ifdef_) :)
This commit is contained in:
Stephen Anthony 2017-08-30 19:41:16 -02:30
parent a101df0269
commit 8cf8200908
2 changed files with 3 additions and 3 deletions

View File

@ -168,9 +168,9 @@ class EventHandler
inline bool kbdAlt(int mod) const
{
#if defined(BSPF_MAC_OSX) || defined(OSX_KEYS)
return (mod & KBDM_ALT);
#else
return (mod & KBDM_GUI);
#else
return (mod & KBDM_ALT);
#endif
}