Mercurial > emacs
changeset 70766:28a79d5b3fb9
(convert_fn_keycode): Fix last change.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sat, 20 May 2006 07:15:22 +0000 |
parents | 66beff5880e7 |
children | ec84f7253180 |
files | src/macterm.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macterm.c Sat May 20 04:31:17 2006 +0000 +++ b/src/macterm.c Sat May 20 07:15:22 2006 +0000 @@ -9692,7 +9692,7 @@ { 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);