diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-21 07:00:54 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-21 07:00:54 +0000 |
commit | d6e3acb5e3db8da0760b9e53df90d2bae1a4ca14 (patch) | |
tree | b064379eadf340aa8d143f7c48523bfaa2c07f3f | |
parent | db5312c78cd0b6579395ea2f57ee8936bec412f9 (diff) |
extraicons: code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16725 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | src/mir_app/src/extraicons.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mir_app/src/extraicons.cpp b/src/mir_app/src/extraicons.cpp index 0d71daeaff..d033358426 100644 --- a/src/mir_app/src/extraicons.cpp +++ b/src/mir_app/src/extraicons.cpp @@ -279,7 +279,6 @@ int ClistExtraClick(WPARAM hContact, LPARAM lParam) HANDLE hEventExtraImageListRebuilding, hEventExtraImageApplying, hEventExtraClick;
static bool bImageCreated = false;
-static int g_mutex_bSetAllExtraIconsCycle = 0;
static HIMAGELIST hExtraImageList;
HANDLE ExtraIcon_Add(HICON hIcon)
@@ -312,7 +311,6 @@ void fnSetAllExtraIcons(MCONTACT hContact) if (cli.hwndContactTree == 0)
return;
- g_mutex_bSetAllExtraIconsCycle = 1;
bool hcontgiven = (hContact != 0);
if (!bImageCreated)
@@ -333,9 +331,7 @@ void fnSetAllExtraIcons(MCONTACT hContact) break;
}
- g_mutex_bSetAllExtraIconsCycle = 0;
cli.pfnInvalidateRect(cli.hwndContactTree, NULL, FALSE);
- Sleep(0);
}
///////////////////////////////////////////////////////////////////////////////
|