mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +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);
|
||||
if (FileExists(test)) return test;
|
||||
#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;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue