Commit ae6aede7 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix Linux-DOSEMU compile error introduced in previous commit.

parent 1b604da8
Pipeline #789 passed with stage
in 24 minutes and 21 seconds
......@@ -1610,12 +1610,12 @@ bool sbbs_t::exec_xtrn(uint xtrnnum)
char startup_dir[MAX_PATH + 1];
#if defined(__linux__) && defined(USE_DOSEMU)
if(!(cfg.xtrn[xtrnnum]->misc & XTRN_NATIVE)) {
SAFEPRINTF(startup_dir, "%s\\%s", DOSEMU_XTRN_DRIVE, getdirname(cfg.xtrn[xtrnnum]->path));
SAFEPRINTF2(startup_dir, "%s\\%s", DOSEMU_XTRN_DRIVE, getdirname(cfg.xtrn[xtrnnum]->path));
if(cfg.xtrn[xtrnnum]->misc & STARTUPDIR)
SAFEPRINTF(drop_file, "%s%s", startup_dir, getfname(path));
SAFEPRINTF2(drop_file, "%s%s", startup_dir, getfname(path));
SAFEPRINTF(drop_file, "%s\\%s", DOSEMU_NODE_DRIVE, getfname(path));
SAFEPRINTF2(drop_file, "%s\\%s", DOSEMU_NODE_DRIVE, getfname(path));
Markdown is supported
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