Commit 3782c621 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix for new sbbs_get_ini_fname() usage

parent 5d0d421e
Pipeline #3081 passed with stage
in 10 minutes and 29 seconds
......@@ -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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment