summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_image_array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/modern_image_array.cpp')
-rw-r--r--plugins/Clist_modern/modern_image_array.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/modern_image_array.cpp b/plugins/Clist_modern/modern_image_array.cpp
index b1dae7be0c..c00a140f23 100644
--- a/plugins/Clist_modern/modern_image_array.cpp
+++ b/plugins/Clist_modern/modern_image_array.cpp
@@ -213,7 +213,7 @@ int ImageArray_AddImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos)
}
// Get bounds
- if (!GetObject(hBmp,sizeof(BITMAP),&bm))
+ if ( !GetObject(hBmp,sizeof(BITMAP),&bm))
{
LeaveCriticalSection(&iad->cs);
return -1;
@@ -239,7 +239,7 @@ int ImageArray_AddImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos)
}
// Alloc array
- if (!ImageArray_Alloc(iad, iad->nodes_size + 1))
+ if ( !ImageArray_Alloc(iad, iad->nodes_size + 1))
{
DeleteObject(hNewBmp);
LeaveCriticalSection(&iad->cs);
@@ -305,7 +305,7 @@ int ImageArray_AddImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos)
BitBlt(iad->hdc, x, y, bm.bmWidth, bm.bmHeight, hdc_old, 0, 0, SRCCOPY);
// 3- old data
- if (!last_one)
+ if ( !last_one)
{
int ox, oy;
@@ -344,7 +344,7 @@ int ImageArray_AddImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos)
iad->img = hNewBmp;
// Move array
- if (!last_one && iad->nodes_size > 1)
+ if ( !last_one && iad->nodes_size > 1)
{
memmove(&iad->nodes[pos+1], &iad->nodes[pos], (iad->nodes_size - pos) * sizeof(IMAGE_ARRAY_DATA_NODE));
}
@@ -383,7 +383,7 @@ BOOL ImageArray_ChangeImage(LP_IMAGE_ARRAY_DATA iad, HBITMAP hBmp, int pos)
EnterCriticalSection(&iad->cs);
// Get bounds
- if (!GetObject(hBmp,sizeof(BITMAP),&bm))
+ if ( !GetObject(hBmp,sizeof(BITMAP),&bm))
{
LeaveCriticalSection(&iad->cs);
return FALSE;