diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-07 12:19:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-07 12:19:25 +0300 |
commit | 1213ce7d1386f5677342951df1a80d589ce2779b (patch) | |
tree | 76ecc7f76b77453b9d3c1800f955e8f7c8da38ac /plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp | |
parent | f18d37c4c90bc39f295fea9fedbfae0e806d9f61 (diff) |
warning fixes
Diffstat (limited to 'plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp')
-rw-r--r-- | plugins/StatusManager/src/AdvancedAutoAway/aaa_options.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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) |