summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/utf8buffer.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 15:13:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 15:13:30 +0300
commitd7e53c4d5a748d5ef8c934e90dc59ff23c667420 (patch)
tree2b0c16de953e182321a0314b6ce3b909f428731f /plugins/HistoryStats/src/utf8buffer.h
parent129687d805025b4e292174ffb3d224a55baf24d2 (diff)
WCHAR -> wchar_t
Diffstat (limited to 'plugins/HistoryStats/src/utf8buffer.h')
-rw-r--r--plugins/HistoryStats/src/utf8buffer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HistoryStats/src/utf8buffer.h b/plugins/HistoryStats/src/utf8buffer.h
index 8f7d3cdddc..a661b14d39 100644
--- a/plugins/HistoryStats/src/utf8buffer.h
+++ b/plugins/HistoryStats/src/utf8buffer.h
@@ -16,10 +16,10 @@ private:
wchar_t* m_pBuf;
ext::a::ostream& m_Stream;
char* m_pUTF8Buf;
- WCHAR* m_pBufW;
+ wchar_t* m_pBufW;
#if !defined(_UNICODE)
- WCHAR m_CharMap[256];
+ wchar_t m_CharMap[256];
#endif // _UNICODE
private:
@@ -28,7 +28,7 @@ private:
size_t len = pEnd - pBegin;
#if !defined(_UNICODE)
- WCHAR* pW = m_pBufW;
+ wchar_t* pW = m_pBufW;
char* pA = m_pBuf;
while (pA < pEnd)
@@ -87,7 +87,7 @@ public:
#if defined(_UNICODE)
m_pBufW = m_pBuf;
#else // _UNICODE
- m_pBufW = new WCHAR[m_BufSize];
+ m_pBufW = new wchar_t[m_BufSize];
#endif // _UNICODE
#if !defined(_UNICODE)