Fix beep when selecting no menu item

This commit is contained in:
Dietrich Epp 2023-05-07 01:43:19 -04:00
parent c1862532b8
commit 37929beede

View File

@ -94,6 +94,10 @@ static void HandleMenuCommand(long command)
WindowRef window; WindowRef window;
ProjectHandle project; ProjectHandle project;
if (command == 0) {
return;
}
switch (menuID) { switch (menuID) {
case rMENU_Apple: case rMENU_Apple:
switch (item) { switch (item) {