diff options
author | Goraf <goraf@miranda-ng.org> | 2016-01-30 21:56:49 +0000 |
---|---|---|
committer | Goraf <goraf@miranda-ng.org> | 2016-01-30 21:56:49 +0000 |
commit | c820fb6a8648b63e6d7d40b165ac047533dadfa3 (patch) | |
tree | e8bdc10a76a64b659ddae930561aa556faa687da /plugins/TrafficCounter/src | |
parent | 66d36547ef14644965d9a5afa46e4056716664b2 (diff) |
BITMAPINFO initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@16199 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter/src')
-rw-r--r-- | plugins/TrafficCounter/src/TrafficCounter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp index a43c952594..7baa587c9c 100644 --- a/plugins/TrafficCounter/src/TrafficCounter.cpp +++ b/plugins/TrafficCounter/src/TrafficCounter.cpp @@ -411,7 +411,6 @@ int PaintTrafficCounterWindow(HWND hwnd, HDC hDC) HBRUSH b, t;
HDC hdc;
HBITMAP hbmp, oldbmp;
- BITMAPINFO RGB32BitsBITMAPINFO = { 0 };
BLENDFUNCTION aga = { AC_SRC_OVER, 0, 0xFF, AC_SRC_ALPHA };
DWORD SummarySession, SummaryTotal;
@@ -426,6 +425,7 @@ int PaintTrafficCounterWindow(HWND hwnd, HDC hDC) // Свой контекст устройства.
hdc = CreateCompatibleDC(hDC);
//
+ BITMAPINFO RGB32BitsBITMAPINFO = { 0 };
RGB32BitsBITMAPINFO.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
RGB32BitsBITMAPINFO.bmiHeader.biWidth = width;
RGB32BitsBITMAPINFO.bmiHeader.biHeight = height;
|