summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinbutton.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-09-29 17:38:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-09-29 17:38:21 +0000
commitb4dda82ea61973078e7fe6678af7aaa72ea0d30b (patch)
tree3cff106e7ad9ec849c257bff58e221eda159d994 /plugins/Clist_modern/src/modern_skinbutton.cpp
parentfb530563908192710e111786f636da2ebccb7924 (diff)
runtime allocation functions replaced with mir_*
function strdupn() removed git-svn-id: http://svn.miranda-ng.org/main/trunk@15475 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinbutton.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinbutton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_skinbutton.cpp b/plugins/Clist_modern/src/modern_skinbutton.cpp
index ad1facd9bc..6c979c87f0 100644
--- a/plugins/Clist_modern/src/modern_skinbutton.cpp
+++ b/plugins/Clist_modern/src/modern_skinbutton.cpp
@@ -622,10 +622,9 @@ static HWND ModernSkinButtonCreateWindow(ModernSkinButtonCtrl * bct, HWND parent
int ModernSkinButtonRedrawAll()
{
- DWORD i;
if (!ModernSkinButtonModuleIsLoaded) return 0;
g_mutex_bLockUpdating++;
- for (i = 0; i < ButtonsCount; i++) {
+ for (DWORD i = 0; i < ButtonsCount; i++) {
if (pcli->hwndContactList && Buttons[i].hwnd == NULL)
Buttons[i].hwnd = ModernSkinButtonCreateWindow(Buttons[i].bct, pcli->hwndContactList);
ModernSkinButtonPaintWorker(Buttons[i].hwnd, 0);