diff options
-rw-r--r-- | core/src/fxge/apple/fx_mac_imp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fxge/apple/fx_mac_imp.cpp b/core/src/fxge/apple/fx_mac_imp.cpp index 8a39db6c37..465dd96afa 100644 --- a/core/src/fxge/apple/fx_mac_imp.cpp +++ b/core/src/fxge/apple/fx_mac_imp.cpp @@ -66,7 +66,7 @@ void* CFX_MacFontInfo::MapFont(int weight, return GetFont(face); } auto it = m_FontList.find(face); - if (it != m_FontList.end) + if (it != m_FontList.end()) return it->second; if (charset == FXFONT_ANSI_CHARSET && (pitch_family & FXFONT_FF_FIXEDPITCH)) { @@ -89,7 +89,7 @@ void* CFX_MacFontInfo::MapFont(int weight, face = "LiSong Pro Light"; } it = m_FontList.Lookup(face); - if (it != m_FontList.end) + if (it != m_FontList.end()) return it->second; return NULL; |