diff options
Diffstat (limited to 'plugins/Clist_mw/CLUIFrames')
-rw-r--r-- | plugins/Clist_mw/CLUIFrames/cluiframes.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Clist_mw/CLUIFrames/cluiframes.cpp b/plugins/Clist_mw/CLUIFrames/cluiframes.cpp index 3d5eb1d676..df70ff4d02 100644 --- a/plugins/Clist_mw/CLUIFrames/cluiframes.cpp +++ b/plugins/Clist_mw/CLUIFrames/cluiframes.cpp @@ -2853,18 +2853,18 @@ static int CLUIFrameOnFontChange(WPARAM wParam,LPARAM lParam) static void CLUIRegisterFonts()
{
- if (ServiceExists(MS_FONT_REGISTER)) {
- FontID fid = {0};
- fid.cbSize = sizeof(fid);
- strcpy(fid.group,LPGEN("Frames"));
- strcpy(fid.name,LPGEN("TitleBarFont"));
- strcpy(fid.dbSettingsGroup,"CLUIFrames");
- strcpy(fid.prefix,"FramesTitleBarFont");
-
- CallService(MS_FONT_REGISTER,(WPARAM)&fid,0);
- CLUIFrameOnFontChange(0,0);
- HookEvent(ME_FONT_RELOAD,CLUIFrameOnFontChange);
-} }
+ FontID fid = {0};
+ fid.cbSize = sizeof(fid);
+ strcpy(fid.group, LPGEN("Frames"));
+ strcpy(fid.name, LPGEN("TitleBarFont"));
+ strcpy(fid.dbSettingsGroup, "CLUIFrames");
+ strcpy(fid.prefix, "FramesTitleBarFont");
+ FontRegister(&fid);
+
+ CLUIFrameOnFontChange(0,0);
+
+ HookEvent(ME_FONT_RELOAD,CLUIFrameOnFontChange);
+}
static int CLUIFrameOnModulesLoad(WPARAM wParam,LPARAM lParam)
{
|