Commits (1)
......@@ -93,7 +93,7 @@ WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR cmd, int)
Application->CreateForm(__classid(TSoundCfgDlg), &SoundCfgDlg);
if(cmd[0] && isdir(cmd))
SAFECOPY(MainForm->global.ctrl_dir,cmd);
sbbs_get_ini_fname(MainForm->ini_file, MainForm->global.ctrl_dir, NULL /* auto-hostname */);
sbbs_get_ini_fname(MainForm->ini_file, MainForm->global.ctrl_dir);
CreateMutex(NULL, FALSE, "sbbsctrl_running"); /* For use by Inno Setup */
Application->Run();
}
......