diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-11 19:39:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-11 19:39:10 +0000 |
commit | af0bb7a5be5c59b6b23e9bf6e6903a8bce3d22ab (patch) | |
tree | 6a19a4618fd5c356e2383a49bcaadb8de786761f /plugins/Scriver/src/statusicon.cpp | |
parent | 52fe3f7be13509bd336c5efa28b8310a23211034 (diff) |
srmm icons work in SRMM & Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@4427 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/statusicon.cpp')
-rw-r--r-- | plugins/Scriver/src/statusicon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/statusicon.cpp b/plugins/Scriver/src/statusicon.cpp index b6879370f3..c10c0b0611 100644 --- a/plugins/Scriver/src/statusicon.cpp +++ b/plugins/Scriver/src/statusicon.cpp @@ -44,7 +44,7 @@ void DrawStatusIcons(HANDLE hContact, HDC hDC, RECT r, int gap) void CheckStatusIconClick(HANDLE hContact, HWND hwndFrom, POINT pt, RECT r, int gap, int click_flags)
{
- unsigned int iconNum = (pt.x - r.left) / (GetSystemMetrics(SM_CXSMICON) + gap) + 1;
+ unsigned int iconNum = (pt.x - r.left) / (GetSystemMetrics(SM_CXSMICON) + gap);
StatusIconData *si = Srmm_GetNthIcon(hContact, iconNum);
if (si == NULL)
return;
|