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

Add support for command-line specifiers in external program 'startup dir'

The exception is: DOS programs on Linux (e.g. Linux DOSEMU), due to the
funky drive letter mappng, this can't be supported for those external
programs.

As requested by Fluid via IRC, for Frotz support, to store user-unique
data files in data/user/####.something (e.g. "%juser/%4.zork").
parent 4674b133
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
Pipeline #6451 passed
......@@ -1425,7 +1425,7 @@ bool sbbs_t::exec_xtrn(uint xtrnnum, bool user_event)
else
#endif
{
SAFECOPY(startup_dir, cfg.xtrn[xtrnnum]->path);
cmdstr(cfg.xtrn[xtrnnum]->path, "", "", startup_dir);
SAFECOPY(drop_file, path);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment