summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/coolscroll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/coolscroll.cpp')
-rw-r--r--plugins/Clist_nicer/src/coolscroll.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Clist_nicer/src/coolscroll.cpp b/plugins/Clist_nicer/src/coolscroll.cpp
index f27fcf6e9c..5a8828a312 100644
--- a/plugins/Clist_nicer/src/coolscroll.cpp
+++ b/plugins/Clist_nicer/src/coolscroll.cpp
@@ -1631,7 +1631,6 @@ static LRESULT ThumbTrackHorz(SCROLLBAR *sbar, HWND hwnd, int x, int y)
}
RotateRect0(sbar, &rc2);
- ReleaseDC(hwnd, hdc);
//post a SB_TRACKPOS message!!!
siMaxMin = si->nMax - si->nMin;
@@ -1649,10 +1648,8 @@ static LRESULT ThumbTrackHorz(SCROLLBAR *sbar, HWND hwnd, int x, int y)
nLastPos = pos;
-//#ifdef CUSTOM_DRAW
PostCustomPrePostPaint(hwnd, hdc, sbar, CDDS_POSTPAINT);
-//#endif
-
+ ReleaseDC(hwnd, hdc);
return 0;
}