Made get_exe_dir() static; removed accidental const

This commit is contained in:
rxi 2020-01-01 13:25:04 +00:00
parent ba86b58b80
commit 86800281c9

View file

@ -28,7 +28,7 @@ static double get_scale(void) {
}
const void get_exe_dir(char *buf, int sz) {
static void get_exe_dir(char *buf, int sz) {
#if _WIN32
int len = GetModuleFileName(NULL, buf, sz - 1);
buf[len] = '\0';