diff options
Diffstat (limited to 'core/src/fxge/ge/fx_ge.cpp')
-rw-r--r-- | core/src/fxge/ge/fx_ge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fxge/ge/fx_ge.cpp b/core/src/fxge/ge/fx_ge.cpp index 138f81840e..f7787cf22c 100644 --- a/core/src/fxge/ge/fx_ge.cpp +++ b/core/src/fxge/ge/fx_ge.cpp @@ -41,7 +41,7 @@ void CFX_GEModule::Destroy() { g_pGEModule = NULL; } CFX_FontCache* CFX_GEModule::GetFontCache() { - if (m_pFontCache == NULL) { + if (!m_pFontCache) { m_pFontCache = new CFX_FontCache(); } return m_pFontCache; |