This commit is contained in:
chombier 2001-07-29 09:00:43 +00:00
parent 72946d52c7
commit b88246f937
1 changed files with 4 additions and 3 deletions

View File

@ -128,6 +128,7 @@ void switchToShiftMenus(Boolean useShiftStuff)
SetMenuItemText(myMenus[Conn],COnext,theMenuItem);
}
void AdjustMenus(void)
{
short i;
@ -137,9 +138,9 @@ void AdjustMenus(void)
return;
}
if ((wind = FrontWindow()) != NULL &&
((((WindowPeek)wind)->windowKind >= userKind)
|| (((WindowPeek)wind)->windowKind == dialogKind)))
if ( (wind = FrontWindow()) != NULL
&& ( ((WindowPeek)wind)->windowKind >= userKind
|| ((WindowPeek)wind)->windowKind == dialogKind) )
EnableItem( myMenus[Fil],FLclose);
else
DisableItem( myMenus[Fil],FLclose);