From 53fe3e46177d17b4941610de19f5cc6210700cb4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 21:44:56 +0300 Subject: db_* functions replaced with g_plugin calls --- plugins/TrafficCounter/src/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TrafficCounter/src/options.cpp') diff --git a/plugins/TrafficCounter/src/options.cpp b/plugins/TrafficCounter/src/options.cpp index 1c7ce7688a..796dc87623 100644 --- a/plugins/TrafficCounter/src/options.cpp +++ b/plugins/TrafficCounter/src/options.cpp @@ -315,8 +315,8 @@ static INT_PTR CALLBACK DlgProcTCOptions(HWND hwndDlg, UINT msg, WPARAM wParam, GetDlgItemText(hwndDlg, IDC_EDIT_TOOLTIP_FORMAT, Traffic_TooltipFormat, _countof(Traffic_TooltipFormat)); // Ключевой цвет - UseKeyColor = db_get_b(NULL, "ModernSettings", "UseKeyColor", 1); - KeyColor = db_get_dw(NULL, "ModernSettings", "KeyColor", 0); + UseKeyColor = db_get_b(0, "ModernSettings", "UseKeyColor", 1); + KeyColor = db_get_dw(0, "ModernSettings", "KeyColor", 0); // Перерисовываем фрейм UpdateTrafficWindowSize(); -- cgit v1.2.3