summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/cluiframes.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-03-24 21:07:55 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-03-24 21:07:55 +0000
commit2ad9dacc6b572b8a2d7d925668cae10abec5ef95 (patch)
tree25d1eb125a1ca128a5b8d516ff5897457e2eca96 /plugins/Clist_modern/src/cluiframes.cpp
parent49df455909f265452893494c7ffedf2298d6206d (diff)
CList_modern: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@16537 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/cluiframes.cpp')
-rw-r--r--plugins/Clist_modern/src/cluiframes.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/Clist_modern/src/cluiframes.cpp b/plugins/Clist_modern/src/cluiframes.cpp
index fd8987d36e..4356d59893 100644
--- a/plugins/Clist_modern/src/cluiframes.cpp
+++ b/plugins/Clist_modern/src/cluiframes.cpp
@@ -2439,14 +2439,7 @@ void DrawBackGround(HWND hwnd, HDC mhdc, HBITMAP hBmpBackground, COLORREF bkColo
}
break;
case CLB_STRETCHH:
- if (backgroundBmpUse & CLBF_PROPORTIONAL) {
- destw = clRect.right;
- //desth = destw*bmp.bmHeight / bmp.bmWidth;
- }
- else {
- destw = clRect.right;
- //desth = bmp.bmHeight;
- }
+ destw = clRect.right;
break;
case CLB_STRETCHV:
if (backgroundBmpUse & CLBF_PROPORTIONAL) {