- 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:
alexey.lysiuk 2020-05-23 17:17:55 +03:00
parent 8d3199514d
commit 57efff200a

View file

@ -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
}