diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-07 20:35:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-07 20:35:29 +0000 |
commit | e31ac6c82a921e5d972fe3a3d437f18f147877a9 (patch) | |
tree | 771e43e5edba542df8d972653a9141cfa5bc091e /plugins/ListeningTo | |
parent | c67ee19b7db5bd93c5dbc11865834ff8dd1db924 (diff) |
duplicated and unused services removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4899 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r-- | plugins/ListeningTo/src/options.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/ListeningTo/src/options.cpp b/plugins/ListeningTo/src/options.cpp index a21e10cf1e..5d8b402bb6 100644 --- a/plugins/ListeningTo/src/options.cpp +++ b/plugins/ListeningTo/src/options.cpp @@ -194,9 +194,7 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP }
else {
// Init combo
- int total = 0, first = 0;
- if (ServiceExists(MS_CLUI_GETCAPS))
- total = CallService(MS_CLUI_GETCAPS, 0, CLUIF2_EXTRACOLUMNCOUNT);
+ int total = EXTRA_ICON_COUNT, first = 0;
SendDlgItemMessage(hwndDlg, IDC_ADV_ICON, CB_ADDSTRING, 0, (LPARAM) _T("1"));
SendDlgItemMessage(hwndDlg, IDC_ADV_ICON, CB_ADDSTRING, 0, (LPARAM) _T("2"));
|