summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/contactcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r--plugins/TabSRMM/src/contactcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp
index 99f52c3f17..12c2b064dd 100644
--- a/plugins/TabSRMM/src/contactcache.cpp
+++ b/plugins/TabSRMM/src/contactcache.cpp
@@ -289,7 +289,7 @@ void CContactCache::saveHistory(WPARAM wParam, LPARAM)
szFromStream = ::Message_GetFromStream(GetDlgItem(m_hwnd, IDC_MESSAGE), SF_RTFNOOBJS | SFF_PLAINRTF | SF_NCRFORNONASCII);
if (szFromStream != NULL) {
- iLength = iStreamLength = (strlen(szFromStream) + 1);
+ iLength = iStreamLength = (mir_strlen(szFromStream) + 1);
if (iLength > 0 && m_history != NULL) { // XXX: iLength > 1 ?
if ((m_iHistoryTop == m_iHistorySize) && oldTop == 0) { // shift the stack down...