summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/cluiframes.cpp
diff options
context:
space:
mode:
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) {