diff options
Diffstat (limited to 'core/fxge/apple/fx_mac_imp.cpp')
-rw-r--r-- | core/fxge/apple/fx_mac_imp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxge/apple/fx_mac_imp.cpp b/core/fxge/apple/fx_mac_imp.cpp index 3df88301b1..fa6572084c 100644 --- a/core/fxge/apple/fx_mac_imp.cpp +++ b/core/fxge/apple/fx_mac_imp.cpp @@ -38,7 +38,7 @@ class CFX_MacFontInfo : public CFX_FolderFontInfo { // CFX_FolderFontInfo void* MapFont(int weight, - FX_BOOL bItalic, + bool bItalic, int charset, int pitch_family, const FX_CHAR* family, @@ -58,7 +58,7 @@ void GetJapanesePreference(CFX_ByteString* face, int weight, int pitch_family) { } void* CFX_MacFontInfo::MapFont(int weight, - FX_BOOL bItalic, + bool bItalic, int charset, int pitch_family, const FX_CHAR* cstr_face, @@ -67,7 +67,7 @@ void* CFX_MacFontInfo::MapFont(int weight, for (size_t i = 0; i < FX_ArraySize(g_Base14Substs); ++i) { if (face == CFX_ByteStringC(g_Base14Substs[i].m_pName)) { face = g_Base14Substs[i].m_pSubstName; - iExact = TRUE; + iExact = true; return GetFont(face.c_str()); } } |