summaryrefslogtreecommitdiff
path: root/metacontacts/meta_services.c
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-01-25 13:45:33 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-01-25 13:45:33 +0000
commit5782492d81564ed3a4aae0a6bb82310db95671ee (patch)
tree0c4167da5f545604bcd6eb41cecc6d5ca14cebda /metacontacts/meta_services.c
parent3b417126cb3f5e7c0d4bbc026913387add8d192d (diff)
oops. forgot to kill timer :|
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@78 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'metacontacts/meta_services.c')
-rw-r--r--metacontacts/meta_services.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/metacontacts/meta_services.c b/metacontacts/meta_services.c
index 0a3b91e..cf33c18 100644
--- a/metacontacts/meta_services.c
+++ b/metacontacts/meta_services.c
@@ -160,7 +160,7 @@ int Meta_LoadIcon(WPARAM wParam,LPARAM lParam)
//static DWORD CALLBACK SetStatusThread( LPVOID param )
-void CALLBACK SetStatusThread(HWND hWnd, UINT msg, UINT_PTR ip, DWORD dw)
+void CALLBACK SetStatusThread(HWND hWnd, UINT msg, UINT_PTR id, DWORD dw)
{
previousMode = mcStatus;
@@ -171,6 +171,7 @@ void CALLBACK SetStatusThread(HWND hWnd, UINT msg, UINT_PTR ip, DWORD dw)
ProtoBroadcastAck(META_PROTO,NULL,ACKTYPE_STATUS,ACKRESULT_SUCCESS, (HANDLE)previousMode, mcStatus);
//return 0;
+ KillTimer(0, setStatusTimerId);
}
/** Changes the status and notifies everybody