summaryrefslogtreecommitdiff
path: root/plugins/Ping
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-25 23:10:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-25 23:10:36 +0300
commita411a7391bb879db8da398f067245a13c7fa7aee (patch)
tree4b2c76ca8bc0b43b1084b8234746810c3ef6c446 /plugins/Ping
parent942c498d6e8901f751b088c0adfcb8f3fc67576c (diff)
major code cleaning of all font-related structures
Diffstat (limited to 'plugins/Ping')
-rw-r--r--plugins/Ping/src/pingthread.cpp4
1 files changed, 1 insertions, 3 deletions
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));