From 4410284da77786594d7009b6c515176de0d5a51e Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 28 Feb 2015 00:26:43 +0000 Subject: Core: -Some major and minor issues fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@12280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/srmm/statusicon.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/srmm/statusicon.cpp') diff --git a/src/modules/srmm/statusicon.cpp b/src/modules/srmm/statusicon.cpp index 18674add19..1722dac64a 100644 --- a/src/modules/srmm/statusicon.cpp +++ b/src/modules/srmm/statusicon.cpp @@ -61,7 +61,7 @@ struct StatusIconMain : public MZeroedObject StatusIconData sid; - int hPangpack; + int hLangpack; OBJLIST arChildren; }; @@ -130,7 +130,7 @@ static INT_PTR AddStatusIcon(WPARAM wParam, LPARAM lParam) p = new StatusIconMain; memcpy(&p->sid, sid, sizeof(p->sid)); - p->hPangpack = (int)wParam; + p->hLangpack = (int)wParam; p->sid.szModule = mir_strdup(sid->szModule); if (sid->flags & MBF_UNICODE) p->sid.tszTooltip = mir_u2t(sid->wszTooltip); @@ -182,7 +182,7 @@ static INT_PTR GetNthIcon(WPARAM wParam, LPARAM lParam) if (pc->tszTooltip) res.tszTooltip = pc->tszTooltip; res.flags = pc->flags; } - res.tszTooltip = TranslateTH(p.hPangpack, res.tszTooltip); + res.tszTooltip = TranslateTH(p.hLangpack, res.tszTooltip); return (INT_PTR)&res; } nVis++; @@ -197,7 +197,7 @@ void KillModuleSrmmIcons(int hLangpack) { for (int i=arIcons.getCount()-1; i >= 0; i--) { StatusIconMain &p = arIcons[i]; - if (p.hPangpack == hLangpack) + if (p.hLangpack == hLangpack) arIcons.remove(i); } } -- cgit v1.2.3