diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2006-05-20 07:15:33 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2006-05-20 07:15:33 +0000 |
commit | 431225c60ec5d1a204c3e7cd29942d3db4cb28a8 (patch) | |
tree | 28bdb122e8327c65d2c5ff478d3829bb5ef423f0 /src/macterm.c | |
parent | 0cd80dfa3f00fdba0ef49edbaf2d512819e464c8 (diff) | |
download | emacs-431225c60ec5d1a204c3e7cd29942d3db4cb28a8.tar.gz |
(convert_fn_keycode): Fix last change.
Diffstat (limited to 'src/macterm.c')
-rw-r--r-- | src/macterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macterm.c b/src/macterm.c index 7b20e8b9427..5401e9dfe0e 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -9692,7 +9692,7 @@ convert_fn_keycode (EventRef eventRef, int keyCode, int *newCode) { err = GetEventParameter (eventRef, kEventParamKeyModifiers, typeUInt32, NULL, sizeof (UInt32), NULL, &mods); - if (err != noErr && mods & kEventKeyModifierFnMask) + if (err == noErr && mods & kEventKeyModifierFnMask) { *newCode = fn_keycode_to_xkeysym_table [keyCode & 0x7f]; return (*newCode != 0); |