summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Weather/src/weather_data.cpp')
-rw-r--r--plugins/Weather/src/weather_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather_data.cpp b/plugins/Weather/src/weather_data.cpp
index 81175f2ea4..76f0bb70af 100644
--- a/plugins/Weather/src/weather_data.cpp
+++ b/plugins/Weather/src/weather_data.cpp
@@ -372,7 +372,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 = "";