diff --git a/src/sbbs3/xtrn.cpp b/src/sbbs3/xtrn.cpp index 6ed53cfa8efe45a3b50cc5cfc631d70c00fb0fc7..20b57090d9c895e7acefccc06e4e23813f73e3da 100644 --- a/src/sbbs3/xtrn.cpp +++ b/src/sbbs3/xtrn.cpp @@ -1409,7 +1409,7 @@ int sbbs_t::external(const char* cmdline, long mode, const char* startup_dir) /* Attempt to keep dosemu from prompting for a disclaimer. */ sprintf(str, "%s/.dosemu", cfg.ctrl_dir); - if (!isdir(str) { + if (!isdir(str)) { mkdir(str, 0755); }