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 f47db595de..a5e9c5737d 100644
--- a/plugins/Weather/src/weather_data.cpp
+++ b/plugins/Weather/src/weather_data.cpp
@@ -405,7 +405,7 @@ void wfree(char **Data)
void wfree(WCHAR **Data)
{
- if (*Data && wcslen(*Data) > 0)
+ if (*Data && mir_wstrlen(*Data) > 0)
mir_free(*Data);
*Data = NULL;
}