ref: a0524fc58f9c5aa54fca049bbc4e08bd558363bd
parent: b26157aca5b12049b35d8dfcf969c51967a369f6
author: Fabian Greffrath <[email protected]>
date: Tue Feb 23 10:31:45 EST 2021
save config in executable directory on Windows Fixes #1351
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -2291,7 +2291,7 @@
return copy;
}
#endif /* #ifndef _WIN32 */
- return M_StringDuplicate("");
+ return M_DirName(myargv[0]);
}
//