summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-01 12:58:55 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-01 12:58:55 +0000
commitb161a5ff7ad033a2c501c3c23144fc6a60890cf4 (patch)
treec0301cb20ecbea1cd83a8b17efe3036dcc391a9e
parent0d47f648dfe4c38ba4405cfaddd124197336f9f6 (diff)
fix for 'missing' status bar icons
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@195 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--iax/private.h2
-rw-r--r--iax/services.cpp2
2 files changed, 3 insertions, 1 deletions
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;