summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_ini.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Weather/src/weather_ini.cpp')
-rw-r--r--plugins/Weather/src/weather_ini.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather_ini.cpp b/plugins/Weather/src/weather_ini.cpp
index 812ec987f3..41eb87c70d 100644
--- a/plugins/Weather/src/weather_ini.cpp
+++ b/plugins/Weather/src/weather_ini.cpp
@@ -96,7 +96,7 @@ void ResetDataItem(WIDATAITEM *Item, const TCHAR *name)
{
TCHAR str[] = _T("ID Search - Station Name");
Item->Name = ( TCHAR* )mir_alloc( sizeof(str));
- _tcscpy(Item->Name, str);
+ mir_tstrcpy(Item->Name, str);
Item->Start = _T("");
Item->End = _T("");
Item->Unit = _T("");