diff options
Diffstat (limited to 'plugins/HistoryStats/src/canvas.cpp')
-rw-r--r-- | plugins/HistoryStats/src/canvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/canvas.cpp b/plugins/HistoryStats/src/canvas.cpp index 9830e36f07..e2b553d44a 100644 --- a/plugins/HistoryStats/src/canvas.cpp +++ b/plugins/HistoryStats/src/canvas.cpp @@ -118,7 +118,7 @@ bool Canvas::getDigest(Digest& digest) int nSize = m_nLineLength * m_nHeight;
BYTE* pData = new BYTE[nSize];
- ZeroMemory(pData, nSize);
+ memset(pData, 0, nSize);
if (GetDIBits(m_hDC, m_hBmp, 0, m_nHeight, pData, reinterpret_cast<BITMAPINFO*>(m_pBMIH), DIB_RGB_COLORS) != m_nHeight) {
delete[] pData;
|