--- sbbs/sbbs3/ctrl/statslogformunit.cpp 2018/04/24 16:39:34 1.1.1.1 +++ sbbs/sbbs3/ctrl/statslogformunit.cpp 2018/04/24 16:40:51 1.1.1.2 @@ -1,12 +1,12 @@ /* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */ -/* $Id: statslogformunit.cpp,v 1.1.1.1 2018/04/24 16:39:34 root Exp $ */ +/* $Id: statslogformunit.cpp,v 1.1.1.2 2018/04/24 16:40:51 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -73,7 +73,7 @@ void __fastcall TStatsLogForm::FormShow( dlb, dls; - sprintf(path,"%sCSTS.DAB",MainForm->CtrlDirectory.c_str()); + sprintf(path,"%sCSTS.DAB",MainForm->global.ctrl_dir); if((file=_sopen(path,O_RDONLY|O_BINARY,SH_DENYNO))==-1) { sprintf(str,"!Error opening %s",path); Log->Lines->Add(AnsiString(str));