diff options
Diffstat (limited to 'core/fxge')
-rw-r--r-- | core/fxge/cfx_fontmgr.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fxge/cfx_fontmgr.cpp b/core/fxge/cfx_fontmgr.cpp index f68598e4b6..e12f341b3e 100644 --- a/core/fxge/cfx_fontmgr.cpp +++ b/core/fxge/cfx_fontmgr.cpp @@ -57,9 +57,7 @@ ByteString KeyNameFromFace(const ByteString& face_name, } ByteString KeyNameFromSize(int ttc_size, uint32_t checksum) { - ByteString key; - key.Format("%d:%d", ttc_size, checksum); - return key; + return ByteString::Format("%d:%d", ttc_size, checksum); } int GetTTCIndex(const uint8_t* pFontData, |