mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
Fixed compilation with GCC/Clang
error: cannot pass non-trivial object of type 'FName' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
This commit is contained in:
parent
b570d0819b
commit
ef871ec09f
1 changed files with 1 additions and 1 deletions
|
@ -2197,7 +2197,7 @@ template<> FSerializer &Serialize(FSerializer &arc, const char *key, FFont *&fon
|
||||||
font = V_GetFont(n);
|
font = V_GetFont(n);
|
||||||
if (font == nullptr)
|
if (font == nullptr)
|
||||||
{
|
{
|
||||||
Printf(TEXTCOLOR_ORANGE "Could not load font %s\n", n);
|
Printf(TEXTCOLOR_ORANGE "Could not load font %s\n", n.GetChars());
|
||||||
font = SmallFont;
|
font = SmallFont;
|
||||||
}
|
}
|
||||||
return arc;
|
return arc;
|
||||||
|
|
Loading…
Reference in a new issue