From ca97e51bc8522538feb522940682a55f0620b90c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 5 Nov 2023 22:06:24 +0300 Subject: mir_fonts.cpp erased because the problems with translation --- plugins/FloatingContacts/src/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/FloatingContacts/src/main.cpp') diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index eb64c54463..a1265dba97 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -16,8 +16,6 @@ No warranty for any misbehaviour. #include "stdafx.h" -#include "../../utils/mir_fonts.h" - ///////////////////////////////////////////////////////////////////////////// // Globals @@ -908,7 +906,7 @@ int CMPlugin::Load() char szId[20]; mir_snprintf(szId, "Font%d", i); - FontService_RegisterFont(MODULENAME, szId, LPGENW("Floating contacts"), s_fonts[i], nullptr, nullptr, i + 1, false, &lf, defColor); + addFont(MODULENAME, szId, LPGENW("Floating contacts"), s_fonts[i], nullptr, nullptr, i + 1, false, &lf, defColor); } HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoded); -- cgit v1.2.3