mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
LaunchAPPLServer: minor bugfixes
This commit is contained in:
parent
c915b2d011
commit
6106b89c9a
@ -89,6 +89,8 @@ AboutBox::~AboutBox()
|
||||
|
||||
void AboutBox::Update()
|
||||
{
|
||||
GrafPtr savePort;
|
||||
GetPort(&savePort);
|
||||
SetPortWindowPort(window);
|
||||
BeginUpdate(window);
|
||||
|
||||
@ -107,4 +109,5 @@ void AboutBox::Update()
|
||||
TEUpdate(&portRect, textEdit);
|
||||
|
||||
EndUpdate(window);
|
||||
SetPort(savePort);
|
||||
}
|
||||
|
@ -596,7 +596,7 @@ void ConnectionChanged()
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
||||
WritePrefs();
|
||||
if(connection)
|
||||
{
|
||||
connection->setListener(&server);
|
||||
|
@ -169,6 +169,8 @@ void StatusDisplay::DrawValue(Stat stat, long val)
|
||||
|
||||
void StatusDisplay::Update()
|
||||
{
|
||||
GrafPtr savePort;
|
||||
GetPort(&savePort);
|
||||
SetPortWindowPort(statusWindow);
|
||||
BeginUpdate(statusWindow);
|
||||
EraseRgn(background);
|
||||
@ -257,6 +259,7 @@ void StatusDisplay::Update()
|
||||
#endif
|
||||
|
||||
EndUpdate(statusWindow);
|
||||
SetPort(savePort);
|
||||
}
|
||||
|
||||
void StatusDisplay::Idle()
|
||||
|
Loading…
Reference in New Issue
Block a user