@@ -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 [] =
@@ -1383,7 +1366,7 @@ Boolean MCButton::mup(uint2 which, bool p_release)
13831366 // that we need to check is the rect of the stack containing
13841367 // the menu).
13851368 MCRectangle t_rect = t_menu->getstack ()->getrect ();
1386- t_outside = !MCU_point_in_rect (rect , mx, my);
1369+ t_outside = !MCU_point_in_rect (t_rect , mx, my);
13871370
13881371 // Move to the parent menu, if it exists
13891372 if (t_menu->getstack ()->getparent () // Stack's parent
@@ -2557,7 +2540,6 @@ class ButtonMenuCallback : public IParseMenuCallback
25572540
25582541Boolean MCButton::findmenu (bool p_just_for_accel)
25592542{
2560- Boolean isunicode = hasunicode ();
25612543 if (!MCNameIsEmpty (menuname))
25622544 {
25632545 if (menu == NULL )
@@ -3806,8 +3788,6 @@ IO_stat MCButton::load(IO_handle stream, uint32_t version)
38063788 return checkloadstat (stat);
38073789 }
38083790
3809- uint4 tacceltextsize;
3810-
38113791 if ((stat = IO_read_uint2 (&accelkey, stream)) != IO_NORMAL)
38123792 return checkloadstat (stat);
38133793 if (accelkey < 256 )
0 commit comments