summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-17 21:24:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-17 21:24:53 +0000
commit5ab0462a05c80e52a629255353405d7e5c39e304 (patch)
tree84a90be689d517efa8b0c9723724856ce66b4fec /plugins/Scriver/src
parentdab6220221dd014aa8490a8f56561b383507304e (diff)
PS_GETCUSTOMSTATUSICON used instead of raw text
git-svn-id: http://svn.miranda-ng.org/main/trunk@5005 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r--plugins/Scriver/src/commonheaders.h1
-rw-r--r--plugins/Scriver/src/infobar.cpp6
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Scriver/src/commonheaders.h b/plugins/Scriver/src/commonheaders.h
index a7c0ca5af5..246ccb6d3f 100644
--- a/plugins/Scriver/src/commonheaders.h
+++ b/plugins/Scriver/src/commonheaders.h
@@ -64,6 +64,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_hotkeys.h>
#include <m_popup.h>
#include <m_timezones.h>
+#include <m_xstatus.h>
#include <win2k.h>
#include <m_ieview.h>
diff --git a/plugins/Scriver/src/infobar.cpp b/plugins/Scriver/src/infobar.cpp
index 897c414e77..79c83e2e94 100644
--- a/plugins/Scriver/src/infobar.cpp
+++ b/plugins/Scriver/src/infobar.cpp
@@ -61,9 +61,9 @@ void SetupInfobar(InfobarWindowData* idat) {
static HICON GetExtraStatusIcon(InfobarWindowData* idat)
{
BYTE bXStatus = db_get_b(idat->mwd->windowData.hContact, idat->mwd->szProto, "XStatusId", 0);
- if (bXStatus > 0) {
- return (HICON) CallProtoService(idat->mwd->szProto, "/GetXStatusIcon", bXStatus, 0);
- }
+ if (bXStatus > 0)
+ return (HICON) CallProtoService(idat->mwd->szProto, PS_GETCUSTOMSTATUSICON, bXStatus, 0);
+
return NULL;
}