diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-07 08:29:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-07 08:29:51 +0000 |
commit | 3e102800404c38bc615cc06fd7117f2b4daeb6c5 (patch) | |
tree | a674038efde2f8060769fa6796cd1b28f96139ff /plugins/Clist_modern/modern_image_array.cpp | |
parent | 6ba9eb829a0b95bf9e6c6bdc9ed37d1d3947b87b (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_image_array.cpp')
-rw-r--r-- | plugins/Clist_modern/modern_image_array.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Clist_modern/modern_image_array.cpp b/plugins/Clist_modern/modern_image_array.cpp index 7d0dbd5106..b1dae7be0c 100644 --- a/plugins/Clist_modern/modern_image_array.cpp +++ b/plugins/Clist_modern/modern_image_array.cpp @@ -273,7 +273,7 @@ int ImageArray_AddImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos) {
w = iad->width;
h = 0;
- for(i=0; i < pos; i++)
+ for (i=0; i < pos; i++)
{
h += iad->nodes[i].height;
}
@@ -282,7 +282,7 @@ int ImageArray_AddImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos) {
h = iad->height;
w = 0;
- for(i=0; i < pos; i++)
+ for (i=0; i < pos; i++)
{
w += iad->nodes[i].width;
}
@@ -434,7 +434,7 @@ BOOL ImageArray_ChangeImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos) {
w = iad->width;
h = 0;
- for(i=0; i < pos; i++)
+ for (i=0; i < pos; i++)
{
h += iad->nodes[i].height;
}
@@ -443,7 +443,7 @@ BOOL ImageArray_ChangeImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos) {
h = iad->height;
w = 0;
- for(i=0; i < pos; i++)
+ for (i=0; i < pos; i++)
{
w += iad->nodes[i].width;
}
@@ -578,7 +578,7 @@ BOOL ImageArray_RemoveImage(LP_IMAGE_ARRAY_DATA iad, int pos) {
w = iad->width;
h = 0;
- for(i=0; i < pos; i++)
+ for (i=0; i < pos; i++)
{
h += iad->nodes[i].height;
}
@@ -587,7 +587,7 @@ BOOL ImageArray_RemoveImage(LP_IMAGE_ARRAY_DATA iad, int pos) {
h = iad->height;
w = 0;
- for(i=0; i < pos; i++)
+ for (i=0; i < pos; i++)
{
w += iad->nodes[i].width;
}
@@ -667,7 +667,7 @@ BOOL ImageArray_DrawImage(LP_IMAGE_ARRAY_DATA iad, int pos, HDC hdcDest, int nXD {
w = 0;
h = 0;
- for(i=0; i < pos; i++)
+ for (i=0; i < pos; i++)
{
h += iad->nodes[i].height;
}
@@ -676,7 +676,7 @@ BOOL ImageArray_DrawImage(LP_IMAGE_ARRAY_DATA iad, int pos, HDC hdcDest, int nXD {
h = 0;
w = 0;
- for(i=0; i < pos; i++)
+ for (i=0; i < pos; i++)
{
w += iad->nodes[i].width;
}
|