diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-15 19:09:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-15 19:09:41 +0000 |
commit | 35eaa182969aae253ccc7120af1bb966e38576d3 (patch) | |
tree | 1f12718692a0eb0a54fa908774a5683d06a07440 /plugins/Clist_modern/src/modern_cachefuncs.cpp | |
parent | a6c1b3df28aabd7a4288e8783e2215c919b0c354 (diff) |
clists code cleaning & optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@16668 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_cachefuncs.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_cachefuncs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_cachefuncs.cpp b/plugins/Clist_modern/src/modern_cachefuncs.cpp index ebf7b25640..9aaeabbe22 100644 --- a/plugins/Clist_modern/src/modern_cachefuncs.cpp +++ b/plugins/Clist_modern/src/modern_cachefuncs.cpp @@ -707,8 +707,9 @@ void Cache_ProceedAvatarInList(ClcData *dat, ClcContact *contact) } // Create objs - void * pt; HDC hdc = CreateCompatibleDC(dat->avatar_cache.hdc); + + void *pt; HBITMAP hDrawBmp = ske_CreateDIB32Point(width_clip, height_clip, &pt); HBITMAP oldBmp = (HBITMAP)SelectObject(hdc, hDrawBmp); |