summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_extraimage.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-07 08:29:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-07 08:29:51 +0000
commit3e102800404c38bc615cc06fd7117f2b4daeb6c5 (patch)
treea674038efde2f8060769fa6796cd1b28f96139ff /plugins/Clist_modern/modern_extraimage.cpp
parent6ba9eb829a0b95bf9e6c6bdc9ed37d1d3947b87b (diff)
removed mir_free_and_nil for local buffers
git-svn-id: http://svn.miranda-ng.org/main/trunk@809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_extraimage.cpp')
-rw-r--r--plugins/Clist_modern/modern_extraimage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_extraimage.cpp b/plugins/Clist_modern/modern_extraimage.cpp
index f0a5799355..cc27494d61 100644
--- a/plugins/Clist_modern/modern_extraimage.cpp
+++ b/plugins/Clist_modern/modern_extraimage.cpp
@@ -203,7 +203,7 @@ void ExtraImage_ReloadExtraIcons()
//calc only needed protocols
//adding protocol icons
ProtoEnumAccounts( &count, &accs );
- for(i=0;i < count;i++)
+ for (i=0;i < count;i++)
{
if (!IsAccountEnabled(accs[i]) || CallProtoService(accs[i]->szModuleName, PS_GETCAPS,PFLAGNUM_2, 0 ) == 0)
continue;
@@ -303,7 +303,7 @@ void ExtraImage_SetAllExtraIcons(HWND hwndList,HANDLE hContact)
ProtoEnumAccounts( &count, &accs );
maxpr = 0;
//calc only needed protocols
- for(i=0;i < count;i++) {
+ for (i=0;i < count;i++) {
if ( !IsAccountEnabled( accs[i] ) || CallProtoService(accs[i]->szModuleName,PS_GETCAPS,PFLAGNUM_2,0) == 0) continue;
ImgIndex[maxpr] = accs[i]->szModuleName;
maxpr++;
@@ -343,7 +343,7 @@ void ExtraImage_SetAllExtraIcons(HWND hwndList,HANDLE hContact)
if (homepage != NULL)
{
showweb = TRUE;
- mir_free_and_nill(homepage);
+ mir_free(homepage);
}
}
SendMessage(hwndList,CLM_SETEXTRAIMAGE,(WPARAM)hItem,MAKELPARAM(ExtraImage_ExtraIDToColumnNum(EXTRA_ICON_WEB),(showweb)?2:0xFF));