Skip to content
Snippets Groups Projects
Commit 4c340f05 authored by rswindell's avatar rswindell
Browse files

Disable LogTimer and ServiceStatsTimer by default.

Use new VERSION_HEX macro for bbs_ver_num() result check.
parent 8446da81
No related branches found
No related tags found
No related merge requests found
......@@ -978,7 +978,7 @@ void __fastcall TMainForm::FormCreate(TObject *Sender)
// Verify SBBS.DLL version
long bbs_ver = bbs_ver_num();
if(bbs_ver < (0x31300 | 'A'-'A') || bbs_ver > (0x399<<8)) {
if(bbs_ver != VERSION_HEX) {
char str[128];
sprintf(str,"Incorrect SBBS.DLL Version (%lX)",bbs_ver);
Application->MessageBox(str,"ERROR",MB_OK|MB_ICONEXCLAMATION);
......@@ -2309,6 +2309,8 @@ void __fastcall TMainForm::StartupTimerTick(TObject *Sender)
Initialized=true;
UpTimer->Enabled=true; /* Start updating the status bar */
LogTimer->Enabled=true;
ServiceStatusTimer->Enabled=true;
if(!Application->Active) /* Starting up minimized? */
FormMinimize(Sender); /* Put icon in systray */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment