Change temporary logging behavior so as to not leave Mac users out

This commit is contained in:
RichardG867
2022-11-22 20:07:17 -03:00
parent 3dbfedbff0
commit d75fe8f326

View File

@@ -598,8 +598,10 @@ usage:
} }
/* TEMPORARY */ /* TEMPORARY */
if (!log_path[0]) if (!log_path[0]) {
strcpy(log_path, "86box.log"); strcpy(log_path, exe_path);
strcat(log_path, "86box.log");
}
/* One argument (config file) allowed. */ /* One argument (config file) allowed. */
if (c < argc) { if (c < argc) {