summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinopt.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_skinopt.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_skinopt.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinopt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_skinopt.cpp b/plugins/Clist_modern/src/modern_skinopt.cpp
index 7bfea762c1..c4ed9b7707 100644
--- a/plugins/Clist_modern/src/modern_skinopt.cpp
+++ b/plugins/Clist_modern/src/modern_skinopt.cpp
@@ -304,13 +304,13 @@ INT_PTR CALLBACK DlgSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
imgOldbmp = ( HBITMAP )SelectObject( imgDC, hPreviewBitmap );
ske_AlphaBlend( memDC, imgPos.x, imgPos.y, dWidth, dHeight, imgDC, 0, 0, bmp.bmWidth, bmp.bmHeight, bf );
SelectObject( imgDC, imgOldbmp );
- mod_DeleteDC( imgDC );
+ DeleteDC( imgDC );
}
}
BitBlt( dis->hDC, dis->rcItem.left, dis->rcItem.top, mWidth, mHeight, memDC, 0, 0, SRCCOPY );
SelectObject( memDC, holdbmp );
DeleteObject( hbmp );
- mod_DeleteDC( memDC );
+ DeleteDC( memDC );
}
break;
@@ -760,7 +760,7 @@ INT_PTR SvcPreviewSkin(WPARAM wParam, LPARAM lParam)
imgOldbmp = ( HBITMAP )SelectObject( imgDC, hPreviewBitmap );
ske_AlphaBlend( dis->hDC, imgPos.x, imgPos.y, dWidth, dHeight, imgDC, 0, 0, bmp.bmWidth, bmp.bmHeight, bf );
SelectObject( imgDC, imgOldbmp );
- mod_DeleteDC( imgDC );
+ DeleteDC( imgDC );
}
ske_UnloadGlyphImage(hPreviewBitmap);
}