Made get_exe_dir() static; removed accidental `const`
This commit is contained in:
parent
ba86b58b80
commit
86800281c9
|
@ -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
|
#if _WIN32
|
||||||
int len = GetModuleFileName(NULL, buf, sz - 1);
|
int len = GetModuleFileName(NULL, buf, sz - 1);
|
||||||
buf[len] = '\0';
|
buf[len] = '\0';
|
||||||
|
|
Loading…
Reference in New Issue