misc: Fix const correctness issue in M_BaseName

This commit is contained in:
Turo Lamminen 2019-01-22 18:53:23 +02:00
parent 921666f704
commit 3166cfd54c

View file

@ -291,7 +291,7 @@ char *M_DirName(const char *path)
// allocated.
const char *M_BaseName(const char *path)
{
char *p;
const char *p;
p = strrchr(path, DIR_SEPARATOR);
if (p == NULL)