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 650f3ceb7b..6e06dd7f50 100644
--- a/plugins/TabSRMM/src/contactcache.cpp
+++ b/plugins/TabSRMM/src/contactcache.cpp
@@ -312,7 +312,7 @@ void CContactCache::saveHistory(WPARAM wParam, LPARAM lParam)
}
}
}
- ::CopyMemory(m_history[m_iHistoryTop].szText, szFromStream, iStreamLength);
+ ::memcpy(m_history[m_iHistoryTop].szText, szFromStream, iStreamLength);
if (!oldTop) {
if (m_iHistoryTop < m_iHistorySize) {
m_iHistoryTop++;