From 14e510c1104e283a32a46bc033e8a9dc21392c7b Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 6 Apr 2013 07:37:28 +0000 Subject: - 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 --- plugins/BuddyPounce/src/dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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); -- cgit v1.2.3