diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-02-07 13:31:44 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-02-07 13:31:44 +0000 |
commit | 16218c1592da1995ffedc41cfa46dc06ac1b27b5 (patch) | |
tree | a56866537d037c1ce4ad97d3b91cde1d3b1efe70 /protocols/Steam/src/steam_xstatus.cpp | |
parent | 10a687c170007cc523d4cba3ed0ce5e1671d5af1 (diff) |
Steam: Support for receiving typing notifications; version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@12040 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_xstatus.cpp')
-rw-r--r-- | protocols/Steam/src/steam_xstatus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_xstatus.cpp b/protocols/Steam/src/steam_xstatus.cpp index b157971331..ca20df452a 100644 --- a/protocols/Steam/src/steam_xstatus.cpp +++ b/protocols/Steam/src/steam_xstatus.cpp @@ -1,7 +1,7 @@ #include "common.h" #define STATUS_TITLE_MAX 64 -#define STATUS_DESC_MAX 255 +#define STATUS_DESC_MAX 250 static std::vector<int> xstatusIconsValid; static std::map<int, int> xstatusIcons; @@ -143,7 +143,7 @@ INT_PTR CSteamProto::OnRequestAdvStatusIconIdx(WPARAM wParam, LPARAM lParam) { std::map<int, int>::iterator it = xstatusIcons.find(status); if (it != xstatusIcons.end()) - return (it->second & 0xFFFF) << 16; + return ((INT_PTR) it->second & 0xFFFF) << 16; } } |