diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-11-06 20:25:24 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-11-06 20:25:24 +0000 |
commit | 65f7574ffc302e2749a922ada3aa2ea9513dd02e (patch) | |
tree | 8c606d0a048e52232e51e2f1798a7bc3b8ec4ca5 /plugins/HistoryStats/src/canvas.cpp | |
parent | abc1a67b29f305316cbb2b69a84d8cbb1a3d808a (diff) |
HistoryStats: Minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@15692 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/canvas.cpp')
-rw-r--r-- | plugins/HistoryStats/src/canvas.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/HistoryStats/src/canvas.cpp b/plugins/HistoryStats/src/canvas.cpp index 881fbc254f..be0cd3978c 100644 --- a/plugins/HistoryStats/src/canvas.cpp +++ b/plugins/HistoryStats/src/canvas.cpp @@ -29,14 +29,10 @@ void Canvas::updateTrans(BYTE* pData) }
}
-Canvas::Canvas(int nWidth, int nHeight) :
- m_nChannels(4),
- m_nWidth(nWidth),
- m_nHeight(nHeight),
- m_nLineLength((m_nChannels * m_nWidth + 3) & ~0x3),
- m_bTransColor(false),
- m_TransColor(0),
- m_pBMIH(NULL)
+Canvas::Canvas(int nWidth, int nHeight) : m_nChannels(4), m_nWidth(nWidth),
+ m_nHeight(nHeight), m_nLineLength((m_nChannels * m_nWidth + 3) & ~0x3),
+ m_bTransColor(false), m_TransColor(0), m_pBMIH(NULL), m_hDC(0),
+ m_hBmp(0), m_hOldBmp(0)
{}
Canvas::~Canvas()
|