summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/RecentContacts')
-rw-r--r--plugins/RecentContacts/src/RecentContacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp
index 5acf5b7309..d67dd92a36 100644
--- a/plugins/RecentContacts/src/RecentContacts.cpp
+++ b/plugins/RecentContacts/src/RecentContacts.cpp
@@ -147,7 +147,7 @@ void wSetData(char **Data, const char *Value)
{
if (Value[0] != 0) {
char *newData = (char*)mir_alloc(mir_strlen(Value)+3);
- strcpy(newData, Value);
+ mir_strcpy(newData, Value);
*Data = newData;
}
else *Data = "";