> Hi, there is only one definition of TERMCAP2KEY().
>
> Maybe the code should be "return (int)
> TERMCAP2KEY(modifier_keys_table[i + 1], modifier_keys_table[i + 2]);"?
Maybe the problem is with using a negative value of char_u.
Try this:
#define TERMCAP2KEY(a, b) (-((int)(a) + ((int)(b) << 8)))
--
The acknowledged parents of reengineering are Michael Hammer and James Champy.
When I say they're the "parents" I don't mean they had sex - and I apologize
for making you think about it. I mean they wrote the best-selling business
book _Reengineering the Corporation_, which was published in 1993.
Businesses flocked to reengineering like frat boys to a drunken
cheerleader. (This analogy wasn't necessary, but I'm trying to get my mind
off that Hammer and Champy thing.)
(Scott Adams - The Dilbert principle)