summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/alphablend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/alphablend.cpp')
-rw-r--r--plugins/Clist_nicer/src/alphablend.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/alphablend.cpp b/plugins/Clist_nicer/src/alphablend.cpp
index 79b3f8353d..eb46d4c437 100644
--- a/plugins/Clist_nicer/src/alphablend.cpp
+++ b/plugins/Clist_nicer/src/alphablend.cpp
@@ -141,7 +141,7 @@ void DrawAlpha(HDC hdcwnd, PRECT rc, DWORD basecolor, int alpha, DWORD basecolor
TRIVERTEX tvtx[2];
int orig = 1, dest = 0;
- if (!(FLG_GRADIENT & GRADIENT_ACTIVE)) {
+ if ( !(FLG_GRADIENT & GRADIENT_ACTIVE)) {
tvtx[0].Red = tvtx[1].Red = (COLOR16)GetRValue(basecolor) << 8;
tvtx[0].Blue = tvtx[1].Blue = (COLOR16)GetBValue(basecolor) << 8;
tvtx[0].Green = tvtx[1].Green = (COLOR16)GetGValue(basecolor) << 8;
@@ -185,7 +185,7 @@ void DrawAlpha(HDC hdcwnd, PRECT rc, DWORD basecolor, int alpha, DWORD basecolor
bf.SourceConstantAlpha = percent_to_byte((UINT32)alpha);
bf.AlphaFormat = 0; // so it will use our specified alpha value
hdc = CreateCompatibleDC(hdcwnd);
- if (!hdc)
+ if ( !hdc)
return;
hbm = CreateCompatibleBitmap(hdcwnd, width, height);
hbmOld = reinterpret_cast<HBITMAP>(SelectObject(hdc, hbm));
@@ -209,7 +209,7 @@ void DrawAlpha(HDC hdcwnd, PRECT rc, DWORD basecolor, int alpha, DWORD basecolor
}
hdc = CreateCompatibleDC(hdcwnd);
- if (!hdc)
+ if ( !hdc)
return;
ZeroMemory(&bmi, sizeof(BITMAPINFO));