Make M_FileExists parameter const

This commit is contained in:
Turo Lamminen 2018-03-02 23:42:57 +02:00
parent 2ac504e292
commit 2efb4fb87b
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ void M_MakeDirectory(const char *path)
// Check if a file exists
boolean M_FileExists(char *filename)
boolean M_FileExists(const char *filename)
{
FILE *fstream;

View file

@ -29,7 +29,7 @@ boolean M_WriteFile(const char *name, void *source, int length);
int M_ReadFile(const char *name, byte **buffer);
void M_MakeDirectory(const char *dir);
char *M_TempFile(const char *s);
boolean M_FileExists(char *file);
boolean M_FileExists(const char *file);
char *M_FileCaseExists(char *file);
long M_FileLength(FILE *handle);
boolean M_StrToInt(const char *str, int *result);