@@ -212,23 +212,6 @@ typedef struct
212212 const char *token;
213213} ModKeyToken;
214214
215- static ModKeyToken modifier_tokens[] =
216- {
217- {MS_SHIFT, 5 , " shift" },
218- {MS_SHIFT, 1 , " @" },
219- {MS_ALT, 6 , " option" },
220- {MS_ALT, 3 , " opt" },
221- {MS_ALT, 3 , " alt" },
222- {MS_ALT, 1 , " #" },
223- {MS_MAC_CONTROL, 7 , " control" },
224- {MS_MAC_CONTROL, 4 , " ctrl" },
225- {MS_MAC_CONTROL, 1 , " %" },
226- {MS_CONTROL, 7 , " command" },
227- {MS_CONTROL, 3 , " cmd" },
228- {MS_CONTROL, 1 , " ^" },
229- {0 , 0 , NULL }
230- };
231-
232215// //////////////////////////////////////////////////////////////////////////////
233216
234217MCPropertyInfo MCButton::kProperties [] =
@@ -1394,7 +1377,7 @@ Boolean MCButton::mup(uint2 which, bool p_release)
13941377 // that we need to check is the rect of the stack containing
13951378 // the menu).
13961379 MCRectangle t_rect = t_menu->getstack ()->getrect ();
1397- t_outside = !MCU_point_in_rect (rect , mx, my);
1380+ t_outside = !MCU_point_in_rect (t_rect , mx, my);
13981381
13991382 // Move to the parent menu, if it exists
14001383 if (t_menu->getstack ()->getparent () // Stack's parent
@@ -2576,7 +2559,6 @@ class ButtonMenuCallback : public IParseMenuCallback
25762559
25772560Boolean MCButton::findmenu (bool p_just_for_accel)
25782561{
2579- Boolean isunicode = hasunicode ();
25802562 if (!MCNameIsEmpty (menuname))
25812563 {
25822564 if (!(menu.IsValid ()))
@@ -3831,8 +3813,6 @@ IO_stat MCButton::load(IO_handle stream, uint32_t version)
38313813 return checkloadstat (stat);
38323814 }
38333815
3834- uint4 tacceltextsize;
3835-
38363816 if ((stat = IO_read_uint2 (&accelkey, stream)) != IO_NORMAL)
38373817 return checkloadstat (stat);
38383818 if (accelkey < 256 )
0 commit comments