summaryrefslogtreecommitdiff
path: root/plugins/SRMM/msgoptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SRMM/msgoptions.cpp')
-rw-r--r--plugins/SRMM/msgoptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SRMM/msgoptions.cpp b/plugins/SRMM/msgoptions.cpp
index 4524966d56..6eb91e910f 100644
--- a/plugins/SRMM/msgoptions.cpp
+++ b/plugins/SRMM/msgoptions.cpp
@@ -115,7 +115,7 @@ void RegisterSRMMFonts( void )
fontid.deffontsettings.style = fontOptionsList[i].defStyle;
_tcscpy(fontid.deffontsettings.szFace, fontOptionsList[i].szDefFace);
fontid.deffontsettings.charset = MsgDlgGetFontDefaultCharset(fontOptionsList[i].szDefFace);
- CallService(MS_FONT_REGISTERT, (WPARAM)&fontid, 0);
+ FontRegisterT(&fontid);
}
colourid.cbSize = sizeof(ColourID);
@@ -124,7 +124,7 @@ void RegisterSRMMFonts( void )
colourid.defcolour = SRMSGDEFSET_BKGCOLOUR;
_tcscpy(colourid.name, LPGENT("Background"));
_tcscpy(colourid.group, LPGENT("Message Log"));
- CallService(MS_COLOUR_REGISTERT, (WPARAM)&colourid, 0);
+ ColourRegisterT(&colourid);
}
/////////////////////////////////////////////////////////////////////////////////////////