Printf doesn't work with FString on GCC

This commit is contained in:
ZZYZX 2017-02-03 20:54:42 +02:00
parent b18b71c065
commit eb7548d639

View file

@ -1338,7 +1338,7 @@ DEFINE_ACTION_FUNCTION(_Console, Printf)
{ {
PARAM_PROLOGUE; PARAM_PROLOGUE;
FString s = FStringFormat(param, defaultparam, numparam, ret, numret); FString s = FStringFormat(param, defaultparam, numparam, ret, numret);
Printf("%s\n", s); Printf("%s\n", s.GetChars());
return 0; return 0;
} }