summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendqueue.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-26 15:00:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-26 15:00:41 +0000
commitb11879a312a9a140819ea181ad75ca1bc98081de (patch)
tree9dbd98da0f0ec86e8b90a6f1ce2778b434521b33 /plugins/TabSRMM/src/sendqueue.cpp
parente55c51a2e46dd44dce02425c04b4f3388fd6df44 (diff)
- fix for the duplicated resource id;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@10599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r--plugins/TabSRMM/src/sendqueue.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp
index 0266e5b5f5..6d3d7cfb01 100644
--- a/plugins/TabSRMM/src/sendqueue.cpp
+++ b/plugins/TabSRMM/src/sendqueue.cpp
@@ -462,9 +462,8 @@ void SendQueue::checkQueue(const TWindowData *dat) const
if (dat) {
HWND hwndDlg = dat->hwnd;
- if (dat->iOpenJobs == 0) {
- ::HandleIconFeedback(const_cast<TWindowData *>(dat), (HICON) - 1);
- }
+ if (dat->iOpenJobs == 0)
+ ::HandleIconFeedback(const_cast<TWindowData *>(dat), (HICON)INVALID_HANDLE_VALUE);
else if (!(dat->sendMode & SMODE_NOACK))
::HandleIconFeedback(const_cast<TWindowData *>(dat), PluginConfig.g_IconSend);