mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:50:05 +00:00
clang format/tidy fixes for rework_layer_text
This commit is contained in:
parent
ab682567c6
commit
ec296d98eb
3 changed files with 25 additions and 24 deletions
|
|
@ -71,7 +71,7 @@ public:
|
|||
|
||||
const std::vector<char>& GetRawFontData(const std::string& filename);
|
||||
|
||||
static bool CheckFontFormat(const FcChar8* format);
|
||||
static bool CheckFontFormat(const FcChar8* format);
|
||||
static FontRecord MatchFontFile(const std::string& family,
|
||||
const std::vector<std::string>& styles);
|
||||
|
||||
|
|
@ -461,7 +461,7 @@ void FontManager::Impl::FinalizeFontconfig()
|
|||
|
||||
bool FontManager::Impl::CheckFontFormat(const FcChar8* format)
|
||||
{
|
||||
const std::string stdFormat = reinterpret_cast<const char *>(format);
|
||||
const std::string stdFormat = reinterpret_cast<const char*>(format);
|
||||
|
||||
return stdFormat == kFcTrueType_ || stdFormat == kFcOpenType_;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue