From ed1449fa491e90197b78b64b52c70910f1736dd7 Mon Sep 17 00:00:00 2001 From: George Hazan <george.hazan@gmail.com> Date: Mon, 25 Jun 2012 15:05:30 +0000 Subject: dynamic fonts' options translation git-svn-id: http://svn.miranda-ng.org/main/trunk@633 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SRMM/msgoptions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SRMM') 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); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3