diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-17 21:24:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-17 21:24:53 +0000 |
commit | 5ab0462a05c80e52a629255353405d7e5c39e304 (patch) | |
tree | 84a90be689d517efa8b0c9723724856ce66b4fec /plugins/Scriver/src/infobar.cpp | |
parent | dab6220221dd014aa8490a8f56561b383507304e (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/infobar.cpp')
-rw-r--r-- | plugins/Scriver/src/infobar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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;
}
|