summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendqueue.cpp
diff options
context:
space:
mode:
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);