diff src/gui-x.c @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 58bac07dfa74
children 6240c7796c7a
line wrap: on
line diff
--- a/src/gui-x.c	Mon Aug 13 11:01:58 2007 +0200
+++ b/src/gui-x.c	Mon Aug 13 11:03:08 2007 +0200
@@ -324,11 +324,8 @@
       ++name;
       if (!(*name))
 	return Qnil;
-      if (*name=='_' && *(name+1))
-	{
-	  int accelerator = (int) (unsigned char) (*(name+1));
-	  return make_char (tolower (accelerator));
-	}
+      if (*name=='_'&&*(name+1))
+	return make_char (tolower(*(name+1)));
     }
     ++name;
   }
@@ -401,8 +398,6 @@
 	  if      (EQ (key, Q_active))   active_p   = val;
 	  else if (EQ (key, Q_suffix))   suffix     = val;
 	  else if (EQ (key, Q_keys))     keys       = val;
-	  else if (EQ (key, Q_key_sequence))  ; /* ignored for FSF compat */
-	  else if (EQ (key, Q_label))  ; /* implement for 21.0 */
 	  else if (EQ (key, Q_style))    style      = val;
 	  else if (EQ (key, Q_selected)) selected_p = val, selected_spec = 1;
 	  else if (EQ (key, Q_included)) include_p  = val, included_spec = 1;