diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/misc.cpp | 2 | ||||
-rw-r--r-- | src/common/misc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/misc.cpp b/src/common/misc.cpp index 5344e0b..2ed6e2c 100644 --- a/src/common/misc.cpp +++ b/src/common/misc.cpp @@ -347,7 +347,7 @@ void AddExt(char* filename, const char* ext) // Specifies the user folder. -void UserDir(bool bUser, char* dir) +void UserDir(bool bUser, const char* dir) { g_bUserDir = bUser; strcpy(g_userDir, dir); diff --git a/src/common/misc.h b/src/common/misc.h index dd559e4..f6fd609 100644 --- a/src/common/misc.h +++ b/src/common/misc.h @@ -47,5 +47,5 @@ extern void TimeToAscii(time_t time, char *buffer); extern bool CopyFileToTemp(char* filename); extern bool CopyFileListToTemp(char* filename, int* list, int total); extern void AddExt(char* filename, const char* ext); -extern void UserDir(bool bUser, char* dir); +extern void UserDir(bool bUser, const char* dir); extern void UserDir(char* buffer, const char* dir, const char* def); |