mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- fixed compilation of Linux target
source/core/raze_music.cpp:84:53: error: request for member ‘GetChars’ in ‘ext’, which is of non-class type ‘const char*’
This commit is contained in:
parent
8d3199514d
commit
57efff200a
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ FString G_SetupFilenameBasedMusic(const char* fn, const char* defmusic)
|
||||||
test.Format("%s.%s", name.GetChars(), ext);
|
test.Format("%s.%s", name.GetChars(), ext);
|
||||||
if (FileExists(test)) return test;
|
if (FileExists(test)) return test;
|
||||||
#ifdef __unix__
|
#ifdef __unix__
|
||||||
test.Format("%s.%s", name.GetChars(), FString(ext.GetChars()).MakeLower().GetChars());
|
test.Format("%s.%s", name.GetChars(), FString(ext).MakeLower().GetChars());
|
||||||
if (FileExists(test)) return test;
|
if (FileExists(test)) return test;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue