diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-04-06 07:37:28 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-04-06 07:37:28 +0000 |
commit | 14e510c1104e283a32a46bc033e8a9dc21392c7b (patch) | |
tree | 8de887ca3e9142ffc2a58542e10d491a970b06f7 /plugins/BuddyPounce/src/dialog.cpp | |
parent | 4810d4b1b7a47701b8e6c45490fb2643ea425123 (diff) |
- BuddyPounce: timer fix (hopefully fixes #295, patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4326 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BuddyPounce/src/dialog.cpp')
-rw-r--r-- | plugins/BuddyPounce/src/dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BuddyPounce/src/dialog.cpp b/plugins/BuddyPounce/src/dialog.cpp index 7730653313..0dbbf22d1b 100644 --- a/plugins/BuddyPounce/src/dialog.cpp +++ b/plugins/BuddyPounce/src/dialog.cpp @@ -548,7 +548,7 @@ INT_PTR CALLBACK SendPounceDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP SetDlgItemText(hwnd, LBL_CONTACT, message);
spdps->timer--;
- if (spdps->timer == -1) {
+ if (spdps->timer == 0) {
KillTimer(hwnd,1);
SendPounce(spdps->message, ((struct SendPounceDlgProcStruct *)GetWindowLongPtr(hwnd, GWLP_USERDATA))->hContact);
mir_free((TCHAR*)((struct SendPounceDlgProcStruct *)GetWindowLongPtr(hwnd, GWLP_USERDATA))->message);
|