From eb7548d63957f7523431a57eac922ce41e889eb0 Mon Sep 17 00:00:00 2001 From: ZZYZX Date: Fri, 3 Feb 2017 20:54:42 +0200 Subject: [PATCH] Printf doesn't work with FString on GCC --- src/c_console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_console.cpp b/src/c_console.cpp index eb4c55d02..1b4cbd36a 100644 --- a/src/c_console.cpp +++ b/src/c_console.cpp @@ -1338,7 +1338,7 @@ DEFINE_ACTION_FUNCTION(_Console, Printf) { PARAM_PROLOGUE; FString s = FStringFormat(param, defaultparam, numparam, ret, numret); - Printf("%s\n", s); + Printf("%s\n", s.GetChars()); return 0; }