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 a678f58..747c66d 100644 --- a/src/common/misc.cpp +++ b/src/common/misc.cpp @@ -381,7 +381,7 @@ void UserDir(bool bUser, char* dir) // def = "abc\" // out: buffer = "abc\toto.txt" -void UserDir(char* buffer, char* dir, const char* def) +void UserDir(char* buffer, const char* dir, const char* def) { char ddir[100]; char* add; diff --git a/src/common/misc.h b/src/common/misc.h index fa478bd..0928acb 100644 --- a/src/common/misc.h +++ b/src/common/misc.h @@ -99,7 +99,7 @@ extern bool CopyFileToTemp(char* filename); extern bool CopyFileListToTemp(char* filename, int* list, int total); extern void AddExt(char* filename, char* ext); extern void UserDir(bool bUser, char* dir); -extern void UserDir(char* buffer, char* dir, const char* def); +extern void UserDir(char* buffer, const char* dir, const char* def); extern char GetLanguageLetter(); |