summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_cachefuncs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-21 12:11:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-21 12:11:11 +0000
commit84c6ccfafbfe7b320443294ac78b3033774602cf (patch)
treed92c6f118c604944cad11fea006ba0aa20d8023f /plugins/Clist_modern/src/modern_cachefuncs.cpp
parent6dc45c41690e8d25757918256fbcb0a06db52f17 (diff)
proper file for the precompiled headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@2415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_cachefuncs.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_cachefuncs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_cachefuncs.cpp b/plugins/Clist_modern/src/modern_cachefuncs.cpp
index 2d95a3d58f..d6c7cf2338 100644
--- a/plugins/Clist_modern/src/modern_cachefuncs.cpp
+++ b/plugins/Clist_modern/src/modern_cachefuncs.cpp
@@ -798,8 +798,8 @@ void Cache_ProceedAvatarInList(ClcData *dat, ClcContact *contact)
BitBlt(hdc, rc.left, rc.top, w, h,hdcTmp2,0,0,SRCCOPY);
SelectObject(hdcTmp2,bmo2);
SelectObject(hdcTmp,bmo);
- mod_DeleteDC(hdcTmp);
- mod_DeleteDC(hdcTmp2);
+ DeleteDC(hdcTmp);
+ DeleteDC(hdcTmp2);
DeleteObject(b2);
}
else {
@@ -809,7 +809,7 @@ void Cache_ProceedAvatarInList(ClcData *dat, ClcContact *contact)
hbmTempAvOld = (HBITMAP)SelectObject(hdcTempAv,ace->hbmPic);
ske_AlphaBlend(hdc, rc.left, rc.top, w, h, hdcTempAv, 0, 0,ace->bmWidth,ace->bmHeight, bf);
SelectObject(hdcTempAv, hbmTempAvOld);
- mod_DeleteDC(hdcTempAv);
+ DeleteDC(hdcTempAv);
}
}
}
@@ -899,7 +899,7 @@ void Cache_GetAvatar(ClcData *dat, ClcContact *contact)
HBITMAP obmp = (HBITMAP)SelectObject(dcMem, hBmp);
StretchBlt(hdc, 0, 0, width_clip, height_clip,dcMem, 0, 0, bm.bmWidth, bm.bmHeight, SRCCOPY);
SelectObject(dcMem,obmp);
- mod_DeleteDC(dcMem);
+ DeleteDC(dcMem);
RECT rtr = {0};
rtr.right = width_clip+1;
@@ -908,7 +908,7 @@ void Cache_GetAvatar(ClcData *dat, ClcContact *contact)
hDrawBmp = (HBITMAP)GetCurrentObject(hdc, OBJ_BITMAP);
SelectObject(hdc,oldBmp);
- mod_DeleteDC(hdc);
+ DeleteDC(hdc);
// Add to list
if (old_pos >= 0) {