diff --git a/src/Core/Resource/CFont.cpp b/src/Core/Resource/CFont.cpp index 9bfc2c3b..7cb376a7 100644 --- a/src/Core/Resource/CFont.cpp +++ b/src/Core/Resource/CFont.cpp @@ -13,7 +13,7 @@ CFont::CFont(CResourceEntry *pEntry) : CResource(pEntry) CFont::~CFont() = default; -inline float PtsToFloat(int32 Pt) +static constexpr float PtsToFloat(int32 Pt) { // This is a bit of an arbitrary number but it works // 1 / (1280 / 1.333333f / 2)