From 57efff200a1c810f37bba1f53fed65d0f9fa84c0 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 23 May 2020 17:17:55 +0300 Subject: [PATCH] - fixed compilation of Linux target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit source/core/raze_music.cpp:84:53: error: request for member ‘GetChars’ in ‘ext’, which is of non-class type ‘const char*’ --- source/core/raze_music.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/raze_music.cpp b/source/core/raze_music.cpp index 5e1743fcd..69712ea9c 100644 --- a/source/core/raze_music.cpp +++ b/source/core/raze_music.cpp @@ -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 }