From 2ad9dacc6b572b8a2d7d925668cae10abec5ef95 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 24 Mar 2016 21:07:55 +0000 Subject: CList_modern: cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@16537 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/cluiframes.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'plugins/Clist_modern/src/cluiframes.cpp') 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) { -- cgit v1.2.3