diff options
Diffstat (limited to 'utils/mir_fonts.cpp')
-rw-r--r-- | utils/mir_fonts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mir_fonts.cpp b/utils/mir_fonts.cpp index d8b7056adf..7da2bd1eef 100644 --- a/utils/mir_fonts.cpp +++ b/utils/mir_fonts.cpp @@ -19,7 +19,7 @@ int FontService_RegisterFont(const char *pszDbModule, const char *pszDbName, con fid.flags = FIDF_ALLOWREREGISTER; if (bAllowEffects) fid.flags |= FIDF_ALLOWEFFECTS; fid.order = position; - if (plfDefault != NULL) { + if (plfDefault != nullptr) { fid.flags |= FIDF_DEFAULTVALID; fid.deffontsettings.colour = clrDefault; fid.deffontsettings.size = (char)plfDefault->lfHeight; |