On Wed, 11 Sep 2002 16:58:23 -0700 Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
VZ> - if ( isalpha(key) ) VZ> + // be careful to check that we have an ASCII key here before doing VZ> + // toupper() below: for non alnum chars toupper() can return VZ> + // absolutely anything, in particular it used to map WXK_INSERT (324) VZ> + // to 'D' so that pressing Ins could actually delete a message... VZ> + if ( key < 128 ) Shouldn't it be if ( key < 128 && isalpha(key) ) ? Regards, Nerijus ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ Mahogany-cvsupdates mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates
