summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 18:30:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 18:30:42 +0300
commit8557d288376ccc87bd54f2a76c99f77115949f02 (patch)
treefdb3f8cac9215adc4493d26abb935bd5c1f54b2e /utils
parentfeac2b1a6a79c9d0bb58b0825ec2a776b888f9ce (diff)
m_fontservice.h => CMPlugin
Diffstat (limited to 'utils')
-rw-r--r--utils/mir_fonts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mir_fonts.cpp b/utils/mir_fonts.cpp
index 7da2bd1eef..8716e3c491 100644
--- a/utils/mir_fonts.cpp
+++ b/utils/mir_fonts.cpp
@@ -30,7 +30,7 @@ int FontService_RegisterFont(const char *pszDbModule, const char *pszDbName, con
fid.deffontsettings.charset = plfDefault->lfCharSet;
mir_wstrncpy(fid.deffontsettings.szFace, plfDefault->lfFaceName, _countof(fid.deffontsettings.szFace)); /* buffer safe */
}
- Font_RegisterW(&fid);
+ Font_RegisterW(&fid, 0);
return 0;
}
@@ -43,6 +43,6 @@ int FontService_RegisterColor(const char *pszDbModule, const char *pszDbName, co
mir_strncpy(cid.setting, pszDbName, sizeof(cid.setting)); /* buffer safe */
mir_wstrncpy(cid.group, pszSection, _countof(cid.group)); /* buffer safe */
mir_wstrncpy(cid.name, pszDescription, _countof(cid.name)); /* buffer safe */
- Colour_RegisterW(&cid);
+ Colour_RegisterW(&cid, 0);
return 0;
}