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