mirror of https://github.com/macssh/macssh.git
cleanup
This commit is contained in:
parent
72946d52c7
commit
b88246f937
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue