Skip to content

Commit 472ebc8

Browse files
committed
[[ Cleanup ]] MCButton::mfocus(): Remove set-but-unused variable.
1 parent 0a6a3e5 commit 472ebc8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

engine/src/button.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,6 @@ Boolean MCButton::mfocus(int2 x, int2 y)
973973
if (getstyleint(flags) == F_MENU && menumode == WM_TOP_LEVEL
974974
&& IsMacLF() && state & CS_MFOCUSED)
975975
{
976-
MCRectangle trect = rect;
977-
trect.height = 8 + MCFontGetAscent(m_font);
978976
// MW-2011-08-18: [[ Layers ]] Invalidate the whole object.
979977
layer_redrawall();
980978
}

0 commit comments

Comments
 (0)