summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_data.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
commitc09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch)
tree9b1b1447755b03dc6fcb327b027789b415e3119f /plugins/Weather/src/weather_data.cpp
parentbabf7873a3fe373d60ef22b1b671d98e014d8819 (diff)
replace _tcscpy to mir_tstrcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_data.cpp')
-rw-r--r--plugins/Weather/src/weather_data.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Weather/src/weather_data.cpp b/plugins/Weather/src/weather_data.cpp
index 76f0bb70af..dd01691fc3 100644
--- a/plugins/Weather/src/weather_data.cpp
+++ b/plugins/Weather/src/weather_data.cpp
@@ -204,7 +204,7 @@ void ConvertDataValue(WIDATAITEM *UpdateData, TCHAR *Data)
!mir_tstrcmpi(UpdateData->Unit, _T("K")))
{
GetTemp(Data, UpdateData->Unit, str);
- _tcscpy(Data, str);
+ mir_tstrcpy(Data, str);
}
// pressure
else if ( !mir_tstrcmp(UpdateData->Name, _T("Pressure")) || !mir_tstrcmpi(UpdateData->Unit, _T("HPA")) ||
@@ -213,7 +213,7 @@ void ConvertDataValue(WIDATAITEM *UpdateData, TCHAR *Data)
!mir_tstrcmpi(UpdateData->Unit, _T("MM")))
{
GetPressure(Data, UpdateData->Unit, str);
- _tcscpy(Data, str);
+ mir_tstrcpy(Data, str);
}
// speed
else if ( !mir_tstrcmp(UpdateData->Name, _T("Wind Speed")) || !mir_tstrcmpi(UpdateData->Unit, _T("KM/H")) ||
@@ -221,21 +221,21 @@ void ConvertDataValue(WIDATAITEM *UpdateData, TCHAR *Data)
!mir_tstrcmpi(UpdateData->Unit, _T("KNOTS")))
{
GetSpeed(Data, UpdateData->Unit, str);
- _tcscpy(Data, str);
+ mir_tstrcpy(Data, str);
}
// visibility
else if ( !mir_tstrcmp(UpdateData->Name, _T("Visibility")) || !mir_tstrcmpi(UpdateData->Unit, _T("KM")) ||
!mir_tstrcmpi(UpdateData->Unit, _T("MILES")))
{
GetDist(Data, UpdateData->Unit, str);
- _tcscpy(Data, str);
+ mir_tstrcpy(Data, str);
}
// elevation
else if ( !mir_tstrcmp(UpdateData->Name, _T("Elevation")) || !mir_tstrcmpi(UpdateData->Unit, _T("FT")) ||
!mir_tstrcmpi(UpdateData->Unit, _T("M")))
{
GetElev(Data, UpdateData->Unit, str);
- _tcscpy(Data, str);
+ mir_tstrcpy(Data, str);
}
// converting case for condition to the upper+lower format
else if ( !mir_tstrcmpi(UpdateData->Unit, _T("COND")))