summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clcpaint.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-26 20:02:16 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-26 20:02:22 +0300
commit9374c8e701dcb61a46c89a854235d91a23bf672e (patch)
treead366bc7f47da578fb33a57c32912689f5aadecb /plugins/Clist_nicer/src/clcpaint.cpp
parent3c5923d11431c515db57e4e972d53bf0443f1bcb (diff)
warning fixes
Diffstat (limited to 'plugins/Clist_nicer/src/clcpaint.cpp')
-rw-r--r--plugins/Clist_nicer/src/clcpaint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_nicer/src/clcpaint.cpp b/plugins/Clist_nicer/src/clcpaint.cpp
index 5274ffa3f3..ed679ef10a 100644
--- a/plugins/Clist_nicer/src/clcpaint.cpp
+++ b/plugins/Clist_nicer/src/clcpaint.cpp
@@ -1223,7 +1223,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT *rcPaint)
GetSystemTime(&cfg::dat.st);
SystemTimeToFileTime(&cfg::dat.st, &cfg::dat.ft);
- cfg::dat.bUseFastGradients = cfg::dat.bWantFastGradients && (GdiGradientFill != nullptr);
+ cfg::dat.bUseFastGradients = cfg::dat.bWantFastGradients;
av_left = (cfg::dat.dwFlags & CLUI_FRAME_AVATARSLEFT);
av_right = (cfg::dat.dwFlags & CLUI_FRAME_AVATARSRIGHT);