Skip to content
Snippets Groups Projects
Commit d2cecaff authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix for new sbbs_get_ini_fname() usage

parent e7aae3f7
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment