Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 70b77b2

Browse files
committed
[17751] Ensure loc of cascade menus is always correct
1 parent 27d7772 commit 70b77b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/desktop-menu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ void MCButton::macopenmenu(void)
384384
tmenuy = trect.y+trect.height + 1;
385385
break;
386386
case WM_CASCADE:
387-
trect = MCU_recttoroot(MCmousestackptr, rect);
387+
trect = MCU_recttoroot(getstack(), rect);
388388
tmenux = trect.x + trect.width + 1;
389389
tmenuy = trect.y;
390390
break;

0 commit comments

Comments
 (0)