From 5ab0462a05c80e52a629255353405d7e5c39e304 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 17 Jun 2013 21:24:53 +0000 Subject: PS_GETCUSTOMSTATUSICON used instead of raw text git-svn-id: http://svn.miranda-ng.org/main/trunk@5005 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/src/commonheaders.h | 1 + plugins/Scriver/src/infobar.cpp | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/Scriver/src') 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 #include #include +#include #include #include 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; } -- cgit v1.2.3