From 1213ce7d1386f5677342951df1a80d589ce2779b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Feb 2017 12:19:25 +0300 Subject: warning fixes --- plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp') diff --git a/plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp b/plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp index 63971adcdf..df1055b5df 100644 --- a/plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp +++ b/plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp @@ -119,6 +119,11 @@ static void SetDialogStatus(HWND hwndDlg, TAAAProtoSetting *sameSetting) ///////////////////////////////////////////////////////////////////////////////////////// // Rules dialog window procedure +int AAACompareSettings(const TAAAProtoSetting *p1, const TAAAProtoSetting *p2) +{ + return mir_strcmp(p1->szName, p2->szName); +} + static TAAAProtoSettingList optionSettings(10, AAACompareSettings); static INT_PTR CALLBACK DlgProcAutoAwayRulesOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) -- cgit v1.2.3