summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/message.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-05 12:52:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-05 12:52:30 +0000
commit3576b67db9fa0a3d8d5c1747cc3560504d31d125 (patch)
treef6a6cb9916cbf1aab83bac572fec8822f6ad065e /plugins/HistoryStats/src/message.h
parent73e6231455372205e912963083624aaa371bab0b (diff)
- adaptation for standard Windows ways of handling Unicode;
- obsoleted code removed; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8407 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/message.h')
-rw-r--r--plugins/HistoryStats/src/message.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/HistoryStats/src/message.h b/plugins/HistoryStats/src/message.h
index fe239c5be4..5d4cd97d99 100644
--- a/plugins/HistoryStats/src/message.h
+++ b/plugins/HistoryStats/src/message.h
@@ -57,23 +57,23 @@ public:
m_Timestamp = localTimestamp;
}
- void assignText(const mu_text* msg, ext::string::size_type len)
+ void assignText(const TCHAR* msg, ext::string::size_type len)
{
m_RawSource = msg;
m_nLength = len;
m_Available = 0;
}
-#if defined(MU_WIDE)
- void assignText(const mu_ansi* msg, ext::string::size_type len)
+#if defined(_UNICODE)
+ void assignText(const char* msg, ext::string::size_type len)
{
m_RawSource = msg;
m_nLength = len;
m_Available = PtrIsNonT;
}
-#endif // MU_WIDE
+#endif // _UNICODE
- void assignTextFromUTF8(const mu_ansi* msg, ext::string::size_type len)
+ void assignTextFromUTF8(const char* msg, ext::string::size_type len)
{
m_RawSource = msg;
m_nLength = len;