diff --git a/source/core/ct_chat.cpp b/source/core/ct_chat.cpp index a70791b7b..87833f24d 100644 --- a/source/core/ct_chat.cpp +++ b/source/core/ct_chat.cpp @@ -182,7 +182,7 @@ bool CT_Responder (event_t *ev) #ifdef __unix__ else if (ev->subtype == EV_GUI_MButtonDown) { - CT_PasteChat(I_GetFromClipboard(true)); + CT_PasteChat(I_GetFromClipboard(true).GetChars()); } #endif } diff --git a/source/platform/posix/i_steam.cpp b/source/platform/posix/i_steam.cpp index d2dd48300..1199c6280 100644 --- a/source/platform/posix/i_steam.cpp +++ b/source/platform/posix/i_steam.cpp @@ -226,7 +226,7 @@ TArray I_GetSteamPath() { struct stat st; FString candidate(SteamInstallFolders[i] + "/" + AppInfo[app]); - if(DirExists(candidate)) + if(DirExists(candidate.GetChars())) result.Push(candidate); } }