From b161a5ff7ad033a2c501c3c23144fc6a60890cf4 Mon Sep 17 00:00:00 2001 From: sje Date: Fri, 1 Jun 2007 12:58:55 +0000 Subject: fix for 'missing' status bar icons git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@195 4f64403b-2f21-0410-a795-97e2b3489a10 --- iax/private.h | 2 +- iax/services.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/iax/private.h b/iax/private.h index a21fd71..f5e97b7 100644 --- a/iax/private.h +++ b/iax/private.h @@ -5,7 +5,7 @@ #define VER_MAJOR 0 #define VER_MINOR 1 #define VER_RELEASE 0 -#define VER_BUILD 2 +#define VER_BUILD 4 #define __STRINGIZE(x) #x #define VER_STRING __STRINGIZE( VER_MAJOR.VER_MINOR.VER_RELEASE.VER_BUILD ) diff --git a/iax/services.cpp b/iax/services.cpp index 7cf8986..5386dea 100644 --- a/iax/services.cpp +++ b/iax/services.cpp @@ -202,6 +202,8 @@ void SetStatusAndACK(int new_status) { int SetStatusService(WPARAM wParam,LPARAM lParam) { int new_status = (int)wParam; + // we only support online and offline + if(new_status != ID_STATUS_OFFLINE) new_status = ID_STATUS_ONLINE; if(new_status == current_status) return 0; -- cgit v1.2.3