From a411a7391bb879db8da398f067245a13c7fa7aee Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 25 Jul 2018 23:10:36 +0300 Subject: major code cleaning of all font-related structures --- plugins/Ping/src/pingthread.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/Ping/src') diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp index 8823b181be..09eba92fb0 100644 --- a/plugins/Ping/src/pingthread.cpp +++ b/plugins/Ping/src/pingthread.cpp @@ -895,11 +895,10 @@ void InitList() else ShowWindow(hpwnd, SW_SHOW); } - font_id.cbSize = sizeof(FontIDW); mir_wstrncpy(font_id.group, LPGENW("Ping"), _countof(font_id.group)); mir_wstrncpy(font_id.name, LPGENW("List"), _countof(font_id.name)); mir_strncpy(font_id.dbSettingsGroup, "PING", _countof(font_id.dbSettingsGroup)); - mir_strncpy(font_id.prefix, "Font", _countof(font_id.prefix)); + mir_strncpy(font_id.setting, "Font", _countof(font_id.setting)); mir_wstrncpy(font_id.backgroundGroup, L"Ping", _countof(font_id.backgroundGroup)); mir_wstrncpy(font_id.backgroundName, L"Background", _countof(font_id.backgroundName)); font_id.order = 0; @@ -912,7 +911,6 @@ void InitList() g_plugin.addFont(&font_id); - bk_col_id.cbSize = sizeof(ColourIDW); mir_wstrncpy(bk_col_id.group, L"Ping", _countof(bk_col_id.group)); mir_wstrncpy(bk_col_id.name, L"Background", _countof(bk_col_id.name)); mir_strncpy(bk_col_id.dbSettingsGroup, "PING", _countof(bk_col_id.dbSettingsGroup)); -- cgit v1.2.3