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